[PATCH v2 RESEND 0/3] powerpc: switch to dynamic root devices
Johan Hovold <[email protected]>
| Newsgroups | gmane.linux.ports.ppc.embedded |
|---|---|
| Message-ID | <20260812142016.55136-1-johan__17875.4519367189$1786544447$gmane$org@kernel.org> |
[ It's been over three months (and one reminder) since this series was posted so resending. ] This series replaces static root devices with dynamically allocated ones. Included is also a related printk cleanup. Johan Changes in v2: - only set ibmebus root pointer on successful registration - add sanity check when registering ibmebus devices to avoid use-after-free if ibmebus_register_driver() is called after the bus failed to register (Sashiko flagged this path which I had missed) Johan Hovold (3): powerpc/ps3: switch to dynamic system bus root device powerpc/pseries: switch to dynamic ibmebus root device powerpc/pseries: clean up ibmebus printks arch/powerpc/platforms/ps3/system-bus.c | 10 ++--- arch/powerpc/platforms/pseries/ibmebus.c | 57 ++++++++++++------------ 2 files changed, 33 insertions(+), 34 deletions(-) -- 2.54.0