linux/drivers/scsi/libsas
Jason Yan 773792e4e7 scsi: libsas: Introduce SAS address comparison helpers
SAS address comparison is widely used in libsas. However they are all
opencoded and to avoid the line spill over 80 columns, are mostly split
into multi-lines. Introduce some helpers to prepare for some refactoring.

Signed-off-by: Jason Yan <yanaijie@huawei.com>
Link: https://lore.kernel.org/r/20220928070130.3657183-2-yanaijie@huawei.com
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: John Garry <john.garry@huawei.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2022-10-18 03:28:09 +00:00
..
Kconfig scsi: libsas: Drop BLK_DEV_BSGLIB selection 2021-07-27 00:06:42 -04:00
Makefile scsi: libsas: Allow libsas to include SCSI header files directly 2021-07-20 23:11:17 -04:00
sas_ata.c scsi: libsas: Update SATA dev FIS in sas_ata_task_done() 2022-10-18 02:37:45 +00:00
sas_discover.c scsi: libsas: Use void for sas_discover_event() return code 2022-02-11 17:13:29 -05:00
sas_event.c scsi: libsas: Use bool for queue_work() return code 2022-02-27 21:48:30 -05:00
sas_expander.c scsi: libsas: Fix use-after-free bug in smp_execute_task_sg() 2022-09-25 12:56:07 -04:00
sas_host_smp.c scsi: libsas: Allow libsas to include SCSI header files directly 2021-07-20 23:11:17 -04:00
sas_init.c scsi: libsas: Make sas_{alloc, alloc_slow, free}_task() private 2022-10-18 02:37:45 +00:00
sas_internal.h scsi: libsas: Introduce SAS address comparison helpers 2022-10-18 03:28:09 +00:00
sas_phy.c scsi: libsas: Allow libsas to include SCSI header files directly 2021-07-20 23:11:17 -04:00
sas_port.c scsi: libsas: Clean up sas_form_port() 2022-03-01 23:56:27 -05:00
sas_scsi_host.c ata: libata-sata: Fix device queue depth control 2022-09-28 20:47:31 +09:00
sas_task.c scsi: libsas: Use enum for response frame DATAPRES field 2022-02-19 15:59:34 -05:00