[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Ze1rK27nlT_nCAM6@shine.dominikbrodowski.net>
Date: Sun, 10 Mar 2024 09:11:23 +0100
From: Dominik Brodowski <linux@...inikbrodowski.net>
To: "Ricardo B. Marliere" <ricardo@...liere.net>
Cc: linux-kernel@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: Re: [PATCH] pcmcia: cs: make pcmcia_socket_class constant
Am Tue, Mar 05, 2024 at 04:38:25PM -0300 schrieb Ricardo B. Marliere:
> 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 pcmcia_socket_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>
Applied to pcmcia-next. Thanks!
Dominik
Powered by blists - more mailing lists