Re: [PATCH 04/10] scsi: libsas: Delete struct scsi_core

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2023/8/14 22:10, John Garry wrote:
Since commit 79855d178557 ("libsas: remove task_collector mode"), struct
scsi_core only contains a reference to the shost. struct scsi_core is only
used in sas_ha_struct.core, so delete scsi_core and replace with a
reference to the shost there.

Signed-off-by: John Garry<john.g.garry@xxxxxxxxxx>
---
  drivers/scsi/aic94xx/aic94xx_hwi.c     |  2 +-
  drivers/scsi/aic94xx/aic94xx_init.c    |  6 +++---
  drivers/scsi/hisi_sas/hisi_sas_main.c  |  6 +++---
  drivers/scsi/hisi_sas/hisi_sas_v3_hw.c |  6 +++---
  drivers/scsi/isci/host.h               |  2 +-
  drivers/scsi/isci/init.c               |  4 ++--
  drivers/scsi/libsas/sas_ata.c          |  8 ++++----
  drivers/scsi/libsas/sas_discover.c     |  8 ++++----
  drivers/scsi/libsas/sas_expander.c     |  2 +-
  drivers/scsi/libsas/sas_host_smp.c     |  4 ++--
  drivers/scsi/libsas/sas_init.c         | 16 ++++++++--------
  drivers/scsi/libsas/sas_phy.c          |  8 ++++----
  drivers/scsi/libsas/sas_port.c         |  6 +++---
  drivers/scsi/libsas/sas_scsi_host.c    | 14 +++++++-------
  drivers/scsi/mvsas/mv_init.c           |  4 ++--
  drivers/scsi/pm8001/pm8001_init.c      |  2 +-
  include/scsi/libsas.h                  |  7 +------
  17 files changed, 50 insertions(+), 55 deletions(-)

Reviewed-by: Jason Yan <yanaijie@xxxxxxxxxx>



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux