mbox series

[0/6] scsi: libsas: Some coding style fixes and cleanups

Message ID 20221204081643.3835966-1-yanaijie@huawei.com
Headers show
Series scsi: libsas: Some coding style fixes and cleanups | expand

Message

Jason Yan Dec. 4, 2022, 8:16 a.m. UTC
A few coding style fixes and cleanups. There should be no functional
changes in this series besides the debug log prints.

Jason Yan (6):
  scsi: libsas: move sas_get_ata_command_set() up to save the
    declaration
  scsi: libsas: delete wrapper function sas_discover_end_dev()
  scsi: libsas: rename sas_discover_sata() and related refactors
  scsi: libsas: remove useless dev_list delete in
    sas_ex_discover_end_dev()
  scsi: libsas: factor out sas_ata_add_dev()
  scsi: libsas: factor out sas_ex_add_dev()

 drivers/scsi/libsas/sas_ata.c      |  94 ++++++++++++++++++----
 drivers/scsi/libsas/sas_discover.c |  21 +----
 drivers/scsi/libsas/sas_expander.c | 125 ++++++++++-------------------
 include/scsi/libsas.h              |   3 -
 include/scsi/sas_ata.h             |  15 ++++
 5 files changed, 135 insertions(+), 123 deletions(-)