[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240305081757.00474e37@bootlin.com>
Date: Tue, 5 Mar 2024 08:17:57 +0100
From: Herve Codina <herve.codina@...tlin.com>
To: Simon Horman <horms@...nel.org>
Cc: "Ricardo B. Marliere" <ricardo@...liere.net>, Yisen Zhuang
<yisen.zhuang@...wei.com>, Salil Mehta <salil.mehta@...wei.com>, "David S.
Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>, Jakub
Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>, Loic Poulain
<loic.poulain@...aro.org>, Sergey Ryazanov <ryazanov.s.a@...il.com>,
Johannes Berg <johannes@...solutions.net>, Krzysztof Kozlowski
<krzysztof.kozlowski@...aro.org>, Greg Kroah-Hartman
<gregkh@...uxfoundation.org>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-ppp@...r.kernel.org
Subject: Re: [PATCH net-next 2/6] net: wan: framer: make framer_class
constant
Hi,
On Mon, 4 Mar 2024 17:52:46 +0000
Simon Horman <horms@...nel.org> wrote:
> + Herve Codina <herve.codina@...tlin.com>
>
> 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 <gregkh@...uxfoundation.org>
> > Suggested-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> > Signed-off-by: Ricardo B. Marliere <ricardo@...liere.net>
>
> Reviewed-by: Simon Horman <horms@...nel.org>
>
Thanks for the patch.
Acked-by: Herve Codina <herve.codina@...tlin.com>
Best regards,
Hervé
Powered by blists - more mailing lists