[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <23jxondt6rjrmsxyuvlbe62qx4ke5qwhgkvm7ucqc36bmdji7w@juevvj5xedyy>
Date: Tue, 27 Feb 2024 06:23:15 +0100
From: Thorsten Scherer <T.Scherer@...elmann.de>
To: "Ricardo B. Marliere" <ricardo@...liere.net>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] siox: constify the struct device_type usage
Hello,
On Mon, Feb 19, 2024 at 04:49:30PM -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
> siox_device_type and siox_master_type variables to be constant structures
> as well, placing it into read-only memory which can not be modified at
> runtime.
>
> Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> Signed-off-by: Ricardo B. Marliere <ricardo@...liere.net>
Acked-by: Thorsten Scherer <t.scherer@...elmann.de>
@gregkh: Could you please pick up this patch? There already is another
patch [1] from Ricardo. I wonder if this one flew under you radar or
if I did something wrong...
Thanks to you both.
Best regards
Thorsten
[1] 20240219-device_cleanup-siox-v1-1-eb32ca2b0113@...liere.net
Powered by blists - more mailing lists