[PATCH v2 RESEND 0/3] powerpc: switch to dynamic root devices

Johan Hovold <[email protected]>
Newsgroups org.ozlabs.lists.linuxppc-dev,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
[ 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.