On 4 Sep 24 11:17, Ricardo B. Marliere wrote:
> Since commit aed65af1cc2f ("drivers: make device_type const"), the driver
> core can properly handle constant struct device_type. Move all the
> device_type variables used in the bus 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]>
> Suggested-by: Greg Kroah-Hartman <[email protected]>
> Signed-off-by: Ricardo B. Marliere <[email protected]>
> ---
> v1->v2:
> - Added missing specifiers regarding:
> https://lore.kernel.org/oe-kbuild-all/[email protected]/
> https://lore.kernel.org/oe-kbuild-all/[email protected]/
> https://lore.kernel.org/oe-kbuild-all/[email protected]/
>
> v1:
> https://lore.kernel.org/all/[email protected]/
Actually, v1 is at:
https://lore.kernel.org/all/[email protected]/