[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1fecf8b1-68d2-481e-a5cc-1c8f53489906@datenfreihafen.org>
Date: Wed, 6 Mar 2024 22:18:01 +0100
From: Stefan Schmidt <stefan@...enfreihafen.org>
To: "Ricardo B. Marliere" <ricardo@...liere.net>,
Alexander Aring <alex.aring@...il.com>,
Miquel Raynal <miquel.raynal@...tlin.com>,
"David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>
Cc: linux-wpan@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: Re: [PATCH wpan-next] wifi: cfg802154: make wpan_phy_class constant
Hello.
On 05.03.24 20:55, 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 wpan_phy_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>
This patch has been applied to the wpan-next tree and will be
part of the next pull request to net-next. Thanks!
regards
Stefan Schmidt
Powered by blists - more mailing lists