Skip to content

Commit 1d95b8a

Browse files
YueHaibingmartinkpetersen
authored andcommitted
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/[email protected] Fixes: bd322af ("ata: make SATA_PMP option selectable only if any SATA host driver is enabled") Reported-by: Hulk Robot <[email protected]> Reviewed-by: Bartlomiej Zolnierkiewicz <[email protected]> Acked-by: John Garry <[email protected]> Signed-off-by: YueHaibing <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 8f3d9f3 commit 1d95b8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/scsi/hisi_sas/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ config SCSI_HISI_SAS
66
select SCSI_SAS_LIBSAS
77
select BLK_DEV_INTEGRITY
88
depends on ATA
9+
select SATA_HOST
910
help
1011
This driver supports HiSilicon's SAS HBA, including support based
1112
on platform device

0 commit comments

Comments
 (0)