Re: [PATCH] arch: powerpc: ps3: Make ps3_system_bus_type const
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2025-09-19 08:07:18
Also in:
lkml
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2025-09-19 08:07:18
Also in:
lkml
On Thu, 18 Sept 2025 at 13:49, Adrian Barnaś [off-list ref] wrote:
Because driver core can properly handle constant struct bus_type, move the ps3_system_bus_type to be a constant structure as well, placing it into read-only memory which can not be modified at runtime. Signed-off-by: Adrian Barnaś <redacted>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds