Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp228094lqs; Mon, 4 Mar 2024 23:18:15 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXnFvcI601P/oD90A+T3gHfzwO8mfVPFXO6WdRKishHYbltviD/92fLwE2KE50OUas/es+lINlPH4S4K9E9pWE/bxCFiw3S5z+DUbZCAA== X-Google-Smtp-Source: AGHT+IHZVqV8E2F5wTlF69hi0w6FS+/4hkrNh0CnJoh3lMEbkvIgNo3OvGalq5IIta5UySWuYN61 X-Received: by 2002:a19:f50c:0:b0:512:a371:3b27 with SMTP id j12-20020a19f50c000000b00512a3713b27mr713773lfb.13.1709623095824; Mon, 04 Mar 2024 23:18:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709623095; cv=pass; d=google.com; s=arc-20160816; b=isKND6R147h47Fk8/nLmzGcFwKuHjg5uDerWKmnPF8qIb4ZidTYVX5l3GZnrMdLfZc e9WxvwdQitqHEiW3sVT2J3HoJUSnc1mtv2jkzd76OkMJ6V4DcgMFYyyUMlLbTK3iEKpM gaftumYjfdv2ZXHewbioqBYNMk3vOdeqB9CM8b5duHMESSz37fCqPckvnagXPC0FF0HV kKUJaeqX8iU99PkGyqTBVwACKgaTKzuPRsO418hOzBNCtJd5cuVzDcv3jIa0Vs50ja7/ xLaC7rY9heN6PKNLY1OV4fVxEtHwiyHAeecJQPh+YywCN5AEPFpFFabx0Axr2TUZUfk6 Oc3g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=nh+UsJveD1Ecym5lcFf+LilE3aXKcM7NsG4y2GIHCgw=; fh=dbobOF0HljWtUvVEx7NBTtxusXBoM9j2LrCRIu/lkS4=; b=WDQnIYPC031lGKZds9v0ZmJlI0Hz5hqlbkPhCYGsfMCHMFjUG7m7/Oy7K81IPEphqe +DF5/fAAuDkXVAQSm/+njQeG6O0MFukehTrwfPM0BpN0Zg4IJXIqTK7sVIkUSTDIChTh xuk4lsmew0gIRK4KL51H1D/Dudr6ka9S2lUybL38ouDSLchO+k8rP9NA2d0lJcaVaiSx uvjFUy4bp2fMwziJ7Ssi/RFUEWk3Znxh2YAeTcJ/t/Cr4cIWHBTLRPOu84W18JKe0JX9 IEv2riX6lwwUoSDlwFsuyY67Iz9yQ/zJuLXxlAQ6XxAqibPGFJHFQg9tIDW2ObvXhuif Ysjw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=phRzA5j0; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-91786-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-91786-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id nb19-20020a1709071c9300b00a44ee7a12c5si2602414ejc.947.2024.03.04.23.18.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 23:18:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-91786-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=phRzA5j0; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-91786-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-91786-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 883271F2182C for ; Tue, 5 Mar 2024 07:18:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C500B7E11C; Tue, 5 Mar 2024 07:18:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="phRzA5j0" Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4D7504C637; Tue, 5 Mar 2024 07:18:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.200 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709623085; cv=none; b=t07Qrl8MIxfCZBy2e2u34v74of2gG3KitRIRr/q/nN2GYoh97SobYwa4QnStit2zdqUrBdcLdoTLGShbeNjJgtPzRCxpKYw5c2h70jBQCIGvpOwkxg5jg48UGgMdipPvtrVxdjm+g7/QcDRuMVioo9kwZusz+lI66TtE9M1kd5w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709623085; c=relaxed/simple; bh=Ixi/76JR1Pv31+3D5ECr3XuT5VyFkR/xNTnNK8sh2Rk=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=EWLs3gqwj9uzOpWu4PDisvnFtXazalubuiqRJC2e8HXUo98MCHW1VCU8WGHvCnD+GmMR+Z24Q/R6o63dYg3sQioFsQ1KfbqJ/SaECpSLHICB63g81P73xjEp8RB18uDfYqfWe96IyTs3kMQoX8IN1fXl8V1XmT+ikQYRGwWeQMM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=phRzA5j0; arc=none smtp.client-ip=217.70.183.200 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 9793B20002; Tue, 5 Mar 2024 07:17:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1709623080; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nh+UsJveD1Ecym5lcFf+LilE3aXKcM7NsG4y2GIHCgw=; b=phRzA5j0/oSjNsnnn0j/EbWetXZsK1SKRUc5jRbru3IRKlGhfw/Ixl5MOzKc38yngt0T9W lx9u3Fxk00/uHGcHc1HP8L4S3XGv2xWOYXD/M1HifH3Em+K+O978NmmjNVVLp8IiLTwpwQ BwgwAWWx+QNYA7gj7simF+3mWgwXDQg2y7QI72fKLz6raikY6hk0NZsEaWEbDJqwFGz5JI HCpaCsP2fQnm2KZM2dfWDAbYzLNvyRo26T+e2x0RccDk7sao8vctkDf+kFa/UDPhdq0iKU oo0dnEW948LYRfd+vZup5EPOvwS9fgva5ZPN6/aOGaVqjV2I1qisqR1N6WZ9ZA== Date: Tue, 5 Mar 2024 08:17:57 +0100 From: Herve Codina To: Simon Horman Cc: "Ricardo B. Marliere" , Yisen Zhuang , Salil Mehta , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Loic Poulain , Sergey Ryazanov , Johannes Berg , Krzysztof Kozlowski , Greg Kroah-Hartman , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-ppp@vger.kernel.org Subject: Re: [PATCH net-next 2/6] net: wan: framer: make framer_class constant Message-ID: <20240305081757.00474e37@bootlin.com> In-Reply-To: <20240304175246.GO403078@kernel.org> References: <20240302-class_cleanup-net-next-v1-0-8fa378595b93@marliere.net> <20240302-class_cleanup-net-next-v1-2-8fa378595b93@marliere.net> <20240304175246.GO403078@kernel.org> Organization: Bootlin X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-redhat-linux-gnu) 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=UTF-8 Content-Transfer-Encoding: 8bit X-GND-Sasl: herve.codina@bootlin.com Hi, On Mon, 4 Mar 2024 17:52:46 +0000 Simon Horman wrote: > + Herve Codina > > On Sat, Mar 02, 2024 at 02:05:58PM -0300, Ricardo B. Marliere wrote: > > Since commit 43a7206b0963 ("driver core: class: make class_register() take > > a const *"), the driver core allows for struct class to be in read-only > > memory, so move the framer_class structure to be declared at build time > > placing it into read-only memory, instead of having to be dynamically > > allocated at boot time. > > > > Cc: Greg Kroah-Hartman > > Suggested-by: Greg Kroah-Hartman > > Signed-off-by: Ricardo B. Marliere > > Reviewed-by: Simon Horman > Thanks for the patch. Acked-by: Herve Codina Best regards, Hervé