Skip to content

driver core: faux: fix root device registration

Johan Hovold driver-core lkml stable 2 versions Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 10 repliesApplied
  2. v11 patch 3 repliesSuperseded

Changes in v2 from the cover letter

- only set the faux_bus_root pointer on successful registration
- clean up the init error handling

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2driver core: faux: fix root device registrationdrivers/base/faux.c+10 -129 replies
2/2driver core: faux: clean up init error handlingdrivers/base/faux.c+6 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] driver core: faux: fix root device registration

This series fixes the faux bus root device registration by using root_device_register().

Included is also a related cleanup.

Johan

Changes in v2:
- only set the faux_bus_root pointer on successful registration
- clean up the init error handling

Johan Hovold (2):
driver core: faux: fix root device registration
driver core: faux: clean up init error handling

 drivers/base/faux.c | 32 +++++++++++++++-----------------
 1 file changed, 15 insertions(+), 17 deletions(-)
Signature · 1 line
2.53.0