linux/drivers/scsi/hisi_sas
YueHaibing 1d95b8a2d4 scsi: hisi_sas: Fix build error without SATA_HOST
If SATA_HOST is n, build fails:

drivers/scsi/hisi_sas/hisi_sas_main.o: In function
`hisi_sas_fill_ata_reset_cmd': hisi_sas_main.c:(.text+0x2500): undefined
reference to `ata_tf_to_fis'

Select SATA_HOST to fix this.

Link: https://lore.kernel.org/r/20200402085812.32948-1-yuehaibing@huawei.com
Fixes: bd322af15c ("ata: make SATA_PMP option selectable only if any SATA host driver is enabled")
Reported-by: Hulk Robot <hulkci@huawei.com>
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Acked-by: John Garry <john.garry@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2020-04-13 13:28:13 -04:00
..
Kconfig scsi: hisi_sas: Fix build error without SATA_HOST 2020-04-13 13:28:13 -04:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
hisi_sas.h scsi: hisi_sas: Rename hisi_sas_cq.pci_irq_mask 2020-01-20 19:31:14 -05:00
hisi_sas_main.c scsi: hisi_sas: Rename hisi_sas_cq.pci_irq_mask 2020-01-20 19:31:14 -05:00
hisi_sas_v1_hw.c compat_ioctl: scsi: handle HDIO commands from drivers 2020-01-03 09:42:52 +01:00
hisi_sas_v2_hw.c scsi: hisi_sas: replace spin_lock_irqsave/spin_unlock_restore with spin_lock/spin_unlock 2020-01-20 19:31:13 -05:00
hisi_sas_v3_hw.c scsi: hisi_sas: Use dev_err() in read_iost_itct_cache_v3_hw() 2020-03-16 18:24:23 -04:00