Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1080864rdb; Mon, 19 Feb 2024 03:50:42 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUE9edBHKXaKftARRyEP/oohZ98fYssucLqkCstpXOPskXw1LvfSBHinb0Bn6EoZ35VKorhocX7v6d47Sq+G257SLfYJJQa5QloVVFQ7g== X-Google-Smtp-Source: AGHT+IES0H84m8A7rqgy8SHuP6nGO34/THgSaDmDNOtE79ntICoKEodc5YpZ0T/fiIWXGq/xVBBk X-Received: by 2002:ac8:574a:0:b0:42e:13ac:4811 with SMTP id 10-20020ac8574a000000b0042e13ac4811mr1881971qtx.44.1708343442671; Mon, 19 Feb 2024 03:50:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708343442; cv=pass; d=google.com; s=arc-20160816; b=i/o35Q5+6DpGzXcHKfuwyy+XxJQggeptkT85w2jZV7/7FFFNFwmsasBEH3ECMHetgI B7wxXFoxvuJU+ZfWQQl4dHRIurPn2S7HnQRqgo8jAz8C6kQx+3OeDRh+MiW7XoOSVPP4 x9QN5Ynwg8oxAPSWLN6bEbHmKXGBSFgNFx2iw21w7fLbhoEB7/NI7S9UsA9UZjSf4uNF xGhMbF+XpDuA1mcFBEAfceOouiU6ftmSCGKauPr8+JU4RbGmHt5g64W+g6vhdFo//k3t s/w9dhasiw+VkMlUGFb4BZTAi13/JWsb4VVd9Wlv1i38nW9e9fJFzctVkxfEK6zPwHu1 3uLw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:dkim-signature:date; bh=CW0WXcyNYkXvrmiNrVym9t+J2nK+JeRu5kNrSxRLDH4=; fh=UPOauKbTGSItgKr4X6X94zRZWJVRuFiAhm26NoPeU1k=; b=lQBa2LquTWg6rLsyLLt1RVN2pIw2LiRzU3QDtrjWMKHImds2umigQ6W/vIeFOMm5rl rsy1mahzR39fuqDSxam/+GZhA9n+dDSj2ZNwvcb+2Oy9KNybSl9QPvznR1YVhVw9b7mE h5CX8yYXJm4qij4F3z2g+X/NOj6Yc+CQWuqVEwSjKpoWjdcE3R4qLTsv1m5a67hHx2N2 JgcyOlQXMZD1Au8pC9dZrXuznkSg471nh3tEgNQUpTPZUvCjGlM4USJGBfsi9hahGg33 jLKc5vZeYEXuSZvXEkhMsYPD+JTllj1dxA24jo0N78Dr6LQC0TIhcC6b71VWHE+knfMB 1Z9w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@marliere.net header.s=2024 header.b=aF3EPXsT; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=marliere.net dmarc=pass fromdomain=marliere.net); spf=pass (google.com: domain of linux-kernel+bounces-71248-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71248-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=marliere.net Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id t22-20020ac87616000000b0042dce6d4a7csi5807631qtq.20.2024.02.19.03.50.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 03:50:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-71248-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@marliere.net header.s=2024 header.b=aF3EPXsT; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=marliere.net dmarc=pass fromdomain=marliere.net); spf=pass (google.com: domain of linux-kernel+bounces-71248-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71248-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=marliere.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 240DD1C22FD5 for ; Mon, 19 Feb 2024 11:50:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C10A02DF9F; Mon, 19 Feb 2024 11:49:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=marliere.net header.i=@marliere.net header.b="aF3EPXsT" Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8F31236103; Mon, 19 Feb 2024 11:49:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708343347; cv=none; b=B4zBD4G8BWpC1NhyLb021a+jj48wp00AZJDLTiSELcUqB+yHSzV8T+SZRNAqp05Sc+Ky58jWAFrPg5yUk/V6T0xJAxuLfF1CZQG6DpNoW5PkKzL2yaFyyUUSD6bbqH8FGJyEA2OTvdC8xZAVNs3xiL8nK1MnfA6jLPA/dHgVXnE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708343347; c=relaxed/simple; bh=GVjvAPYbMIuKLzqak2azvCdxXlpubEruAFBoyFzUHMM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jTqyIksWxFJsKf0N4++LZfYoNEEEV8NIO8S7refxc68GSUruNzg+SIZDlqMhUWE1RWge5SiPhIfhuRX8Qe3vaJhGShkgxggkiVAyK8uOv1xxJEZIvSkNF5n4o4V8X/U88zlTh+Od79P4/MfBnCW4nkdwWX2vUSiopsNSPj5tsOs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=marliere.net; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=marliere.net header.i=@marliere.net header.b=aF3EPXsT; arc=none smtp.client-ip=209.85.216.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=marliere.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pj1-f46.google.com with SMTP id 98e67ed59e1d1-29996cc6382so632204a91.3; Mon, 19 Feb 2024 03:49:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708343345; x=1708948145; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:dkim-signature:date:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=CW0WXcyNYkXvrmiNrVym9t+J2nK+JeRu5kNrSxRLDH4=; b=fALHzl5xuiAVsL4K8hEMzVTCsihUnAIuDBESB567R8iH46h4kHgzbeG+iI2uheM+Gc iPh2ePgA1Pz2Z41C6/hAZ/x4fVtkCtWhYXh1d8cU+1I3EWrgBLX1JdizNWOCq7gcitoM SRFs7bS+qydCgKAs2+jh/iXsmo+WGekHM8KI4GEwPfDK8yvrH3PEVarYssW6zCQBwvXG 3NYWOlV652Wtwg7FH5a5jAYEP2KAwePWX2M7D73zrWVRK4E3emSBfgF7XphFjQJrAK2d Ehi6WI6j9Kg8wV4JTpj4NJSaC2RBsA98srj5jQN3Fzq2vBKI7hW+Ay2g0pJAJc4JJY0m TSFQ== X-Forwarded-Encrypted: i=1; AJvYcCXY0iqRDkZw4d6SO//mEIBARKxTRsLaU7AGpd3p3ZX/WG6aMFM1EcF/YQlsmRV3PA67bei37cY7qxovC2NYm+jW3SCHOj2SD+tb6o2qNHcU29ktRyd+4vOttkNENXAglCoBOmTnoBHKCmrr04L3uch3FOV17xrpHFsA/Vro9Hfh4o+CUI9bgTuRY5YPPVsimnlKlIvIRlAmZywM X-Gm-Message-State: AOJu0YwJDh+ZuFmJzXRLsr4wuWFrWuBaJDjWQwKnpqlcnPC1AFykmzaE +x6FyKF3FaXBy3sEprRWXM9ng8G2z51NdWkRmVhOnJEONm6nu0Vm X-Received: by 2002:a17:90b:1990:b0:299:48de:9c7a with SMTP id mv16-20020a17090b199000b0029948de9c7amr5910376pjb.0.1708343344080; Mon, 19 Feb 2024 03:49:04 -0800 (PST) Received: from mail.marliere.net ([24.199.118.162]) by smtp.gmail.com with ESMTPSA id gw15-20020a17090b0a4f00b002961a383303sm5006491pjb.14.2024.02.19.03.49.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 03:49:03 -0800 (PST) Date: Mon, 19 Feb 2024 08:49:47 -0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marliere.net; s=2024; t=1708343342; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=CW0WXcyNYkXvrmiNrVym9t+J2nK+JeRu5kNrSxRLDH4=; b=aF3EPXsTFrB1x5H2n2pIS3IyVuCY7etIJQKZUeoPOEOz8WhjXdUyktGbvKmLJR3UA1ouEk PSRfYIKrFGmJBKr+kbNx1ECIPVxnT03aYAJ1XZ0XDSVSBlzJwCnPRGc4n2NAFBQGJU1K/x GjmkZIegzD8zf3Y0+awRerHn0ayq/hJd10q6cq2MesXbGgG5EnZfWK/XIprFIcsvZ0nc1B rNb1dqWxo5r72F9tRyqvBRc6xQySlul7mKOQaTKwTPifwGnBE06nZYnMANsEob+HbYix7E 3Xuws4H+hBs1e0J2mcIcpU4XuOgahkF1kfIDygPln7C3NtN5eUEHaHXfINbT1Q== Authentication-Results: ORIGINATING; auth=pass smtp.auth=ricardo@marliere.net smtp.mailfrom=ricardo@marliere.net From: "Ricardo B. Marliere" To: Guillaume Nault Cc: Oliver Neukum , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Andrew Lunn , Florian Fainelli , Vladimir Oltean , Roopa Prabhu , Nikolay Aleksandrov , Loic Poulain , Sergey Ryazanov , Johannes Berg , netdev@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, bridge@lists.linux.dev, linux-ppp@vger.kernel.org, Greg Kroah-Hartman Subject: Re: [PATCH 04/12] net: vxlan: constify the struct device_type usage Message-ID: References: <20240217-device_cleanup-net-v1-0-1eb31fb689f7@marliere.net> <20240217-device_cleanup-net-v1-4-1eb31fb689f7@marliere.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Hi Guillaume, On 19 Feb 12:43, Guillaume Nault wrote: > On Sat, Feb 17, 2024 at 05:13:26PM -0300, Ricardo B. Marliere wrote: > > Since commit aed65af1cc2f ("drivers: make device_type const"), the driver > > core can properly handle constant struct device_type. Move the vxlan_type > > variable to be a constant structure as well, placing it into read-only > > memory which can not be modified at runtime. > > Reviewed-by: Guillaume Nault > > Note: To help maintainers (and potentially reviewers) work please > write in the subject prefix which tree you're targetting. For this > series, it should be "[PATCH net-next xx/yy]". Makes sense, will keep this in mind next time! Thanks for reviewing, - Ricardo.