Thread (3 messages) 3 messages, 3 authors, 2025-09-19

Re: [PATCH] arch: powerpc: ps3: Make ps3_system_bus_type const

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2025-09-18 13:05:08
Also in: lkml

On Thu, Sep 18, 2025 at 11:48:40AM +0000, Adrian Barnaś 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>
---
 arch/powerpc/platforms/ps3/system-bus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help