public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] scsi: Make use of bus callbacks
@ 2025-12-09 20:45 Uwe Kleine-König
  2025-12-09 20:45 ` [PATCH 1/8] scsi: Pass a struct scsi_driver to scsi_{,un}register_driver() Uwe Kleine-König
                   ` (7 more replies)
  0 siblings, 8 replies; 22+ messages in thread
From: Uwe Kleine-König @ 2025-12-09 20:45 UTC (permalink / raw)
  To: James E.J. Bottomley
  Cc: Martin K. Petersen, Kai Mäkisara, Alim Akhtar, Avri Altman,
	Bart Van Assche, Peter Wang, Bean Huo, Adrian Hunter,
	Bao D. Nguyen, Can Guo, Manivannan Sadhasivam, linux-scsi

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
-- 
2.47.3


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2025-12-15  4:10 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-09 20:45 [PATCH 0/8] scsi: Make use of bus callbacks Uwe Kleine-König
2025-12-09 20:45 ` [PATCH 1/8] scsi: Pass a struct scsi_driver to scsi_{,un}register_driver() Uwe Kleine-König
2025-12-10 13:14   ` Peter Wang (王信友)
2025-12-09 20:45 ` [PATCH 2/8] scsi: Make use of bus callbacks Uwe Kleine-König
2025-12-09 20:59   ` Bart Van Assche
2025-12-09 21:22     ` Uwe Kleine-König
2025-12-10  5:26       ` Christoph Hellwig
2025-12-10  6:56         ` Uwe Kleine-König
2025-12-10  7:04           ` Christoph Hellwig
2025-12-10 10:34             ` Uwe Kleine-König
2025-12-09 21:00   ` Bart Van Assche
2025-12-09 21:26     ` Uwe Kleine-König
2025-12-09 20:45 ` [PATCH 3/8] scsi: ch: Convert to scsi bus methods Uwe Kleine-König
2025-12-09 20:45 ` [PATCH 4/8] scsi: sd: " Uwe Kleine-König
2025-12-10  9:20   ` kernel test robot
2025-12-10  9:50     ` Uwe Kleine-König
2025-12-15  4:10   ` kernel test robot
2025-12-09 20:45 ` [PATCH 5/8] scsi: ses: " Uwe Kleine-König
2025-12-09 20:45 ` [PATCH 6/8] scsi: sr: " Uwe Kleine-König
2025-12-09 20:45 ` [PATCH 7/8] scsi: st: " Uwe Kleine-König
2025-12-09 20:45 ` [PATCH 8/8] scsi: ufs: " Uwe Kleine-König
2025-12-10 13:14   ` Peter Wang (王信友)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox