2024-02-19 20:15:55

by Uwe Kleine-König

[permalink] [raw]
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 <[email protected]>
> Signed-off-by: Ricardo B. Marliere <[email protected]>

LGTM

Acked-by: Uwe Kleine-K?nig <[email protected]>

Best regards and thanks,
Uwe

--
Pengutronix e.K. | Uwe Kleine-K?nig |
Industrial Linux Solutions | https://www.pengutronix.de/ |


Attachments:
(No filename) (769.00 B)
signature.asc (499.00 B)
Download all attachments