scsi: Make use of bus callbacks
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | scsi: Pass a struct scsi_driver to scsi_{,un}register_driver()drivers/ drivers/ drivers/ +5 more | +17 | 1 reply | |
| 2/8 | scsi: Make use of bus callbacksdrivers/ include/ | +74 | 8 replies | |
| 3/8 | scsi: ch: Convert to scsi bus methodsdrivers/ | +7 | 0 replies | |
| 4/8 | scsi: sd: Convert to scsi bus methodsdrivers/ | +11 | 1 reply | |
| 5/8 | scsi: ses: Convert to scsi bus methodsdrivers/ | +2 | 0 replies | |
| 6/8 | scsi: sr: Convert to scsi bus methodsdrivers/ | +8 | 0 replies | |
| 7/8 | scsi: st: Convert to scsi bus methodsdrivers/ | +9 | 0 replies | |
| 8/8 | scsi: ufs: Convert to scsi bus methodsdrivers/ | +9 | 1 reply |
Reviews trailers per patch
2 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Peter Wang |
|---|---|
| 1/8 | R-b |
| 2/8 | |
| 3/8 | |
| 4/8 | |
| 5/8 | |
| 6/8 | |
| 7/8 | |
| 8/8 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/8] scsi: Make use of bus callbacks
Hello,
there are currently two mechanisms to bind a device to a driver: struct device_driver::probe() and struct bus_type::probe(). The latter is the newer and preferred variant. This series converts the scsi subsystem to use the bus_type variant with the eventual goal to drop the device_driver variant (after all other subsystems are converted as well).
This passed an allmodconfig buildtest on amd64 and arm64. The intention is that nothing changes for users of the scsi subsystems.
Best regards
Uwe
Uwe Kleine-König (8):
scsi: Pass a struct scsi_driver to scsi_{,un}register_driver()
scsi: Make use of bus callbacks
scsi: ch: Convert to scsi bus methods
scsi: sd: Convert to scsi bus methods
scsi: ses: Convert to scsi bus methods
scsi: sr: Convert to scsi bus methods
scsi: st: Convert to scsi bus methods
scsi: ufs: Convert to scsi bus methods
drivers/scsi/ch.c | 18 ++++----- drivers/scsi/scsi_sysfs.c | 77 ++++++++++++++++++++++++++++++++++++-- drivers/scsi/sd.c | 25 +++++++------ drivers/scsi/ses.c | 15 ++------ drivers/scsi/sr.c | 21 +++++------ drivers/scsi/st.c | 22 +++++------ drivers/ufs/core/ufshcd.c | 22 +++++------ include/scsi/scsi_driver.h | 7 +++- 8 files changed, 137 insertions(+), 70 deletions(-)
base-commit: 7d0a66e4bb9081d75c82ec4957c50034cb0ea449
Signature · 1 line
2.47.3