[PATCH v2] ARM: s3c64xx: make s3c6410_subsys const

Krzysztof Kozlowski krzysztof.kozlowski at linaro.org
Sun Feb 11 23:31:13 PST 2024


On 11/02/2024 16:57, Ricardo B. Marliere wrote:
> Since commit d492cc2573a0 ("driver core: device.h: make struct bus_type
> a const *"), the driver core can properly handle constant struct
> bus_type, move the s3c6410_subsys variable to be a constant structure as
> well, placing it into read-only memory which can not be modified at
> runtime.
> 
> Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Suggested-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Signed-off-by: Ricardo B. Marliere <ricardo at marliere.net>
> ---

I just noticed you sent quite the same change for the same subarch.
Please perform changes all at once. Squashed.

Best regards,
Krzysztof




More information about the linux-arm-kernel mailing list