linux-stable/include/scsi
John Garry 924a3541ea scsi: libsas: aic94xx: hisi_sas: mvsas: pm8001: Use dev_is_expander()
Many times in libsas, and in LLDDs which use libsas, the check for an
expander device is re-implemented or open coded.

Use dev_is_expander() instead. We rename this from
sas_dev_type_is_expander() to not spill so many lines in referencing.

Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Jason Yan <yanaijie@huawei.com>
Reviewed-by: Jack Wang <jinpu.wang@cloud.ionos.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2019-06-20 15:37:02 -04:00
..
fc scsi: libfc: switch to SPDX tags 2019-05-21 06:16:22 -04:00
fc_encode.h
fc_frame.h
fcoe_sysfs.h
iscsi_if.h scsi: libiscsi: switch to SPDX tags 2019-05-21 06:16:22 -04:00
iscsi_proto.h scsi: libiscsi: switch to SPDX tags 2019-05-21 06:16:22 -04:00
iser.h
libfc.h scsi: libfc: switch to SPDX tags 2019-05-21 06:16:22 -04:00
libfcoe.h scsi: libfcoe: switch to SPDX tags 2019-05-21 06:16:22 -04:00
libiscsi.h scsi: libiscsi: switch to SPDX tags 2019-05-21 06:16:22 -04:00
libiscsi_tcp.h scsi: libiscsi: switch to SPDX tags 2019-05-21 06:16:22 -04:00
libsas.h scsi: libsas: aic94xx: hisi_sas: mvsas: pm8001: Use dev_is_expander() 2019-06-20 15:37:02 -04:00
sas.h scsi: libsas: switch remaining files to SPDX tags 2019-05-21 06:16:22 -04:00
sas_ata.h scsi: libsas: switch remaining files to SPDX tags 2019-05-21 06:16:22 -04:00
scsi.h scsi: libsas: Remove scsi_to_u32() 2019-01-29 00:46:22 -05:00
scsi_bsg_iscsi.h scsi: libiscsi: switch to SPDX tags 2019-05-21 06:16:22 -04:00
scsi_cmnd.h scsi: kill command serial number 2019-02-27 09:19:24 -05:00
scsi_common.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
scsi_dbg.h scsi: core: remove reference to scsi_show_extd_sense() 2018-04-18 23:37:39 -04:00
scsi_device.h scsi: Check sense buffer size at build time 2018-08-02 15:23:51 -06:00
scsi_devinfo.h scsi: devinfo: BLIST_RETRY_ASC_C1 for Fujitsu ETERNUS 2018-04-20 19:14:36 -04:00
scsi_dh.h scsi: return blk_status_t from device handler ->prep_fn 2018-11-09 19:17:14 -07:00
scsi_driver.h scsi: return blk_status_t from scsi_init_io and ->init_command 2018-11-09 19:17:14 -07:00
scsi_eh.h scsi: remove bidirectional command support 2019-02-05 21:29:21 -05:00
scsi_host.h scsi: core: reshuffle no_scsi2_lun_in_cdb for better alignment 2019-03-19 13:57:28 -04:00
scsi_ioctl.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
scsi_proto.h scsi: core: Add VENDOR_SPECIFIC sense code definitions 2018-01-22 20:04:02 -05:00
scsi_request.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
scsi_tcq.h scsi: kill off the legacy IO path 2018-11-07 13:42:32 -07:00
scsi_transport.h scsi: scsi_transport.h: switch to SPDX tags 2019-05-21 06:16:21 -04:00
scsi_transport_fc.h scsi: scsi_transport_fc: switch to SPDX tags 2019-05-21 06:16:21 -04:00
scsi_transport_iscsi.h scsi: scsi_transport_iscsi: switch to SPDX tags 2019-05-21 06:16:22 -04:00
scsi_transport_sas.h scsi: libsas: direct call probe and destruct 2018-01-10 23:24:02 -05:00
scsi_transport_spi.h scsi: scsi_transport_spi: switch to SPDX tags 2019-05-21 06:16:22 -04:00
scsi_transport_srp.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
scsicam.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sg.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
srp.h include/scsi/srp.h: Add support for immediate data 2018-12-19 15:07:25 -05:00
viosrp.h