[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c4e9d7a0-668a-5dee-2a15-5e5392c2f275@samsung.com>
Date: Thu, 2 Apr 2020 11:08:06 +0200
From: Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>
To: YueHaibing <yuehaibing@...wei.com>
Cc: john.garry@...wei.com, jejb@...ux.ibm.com,
martin.petersen@...cle.com, chenxiang66@...ilicon.com,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] scsi: hisi_sas: Fix build error without SATA_HOST
On 4/2/20 10:58 AM, YueHaibing wrote:
> 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.
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Fixes: bd322af15ce9 ("ata: make SATA_PMP option selectable only if any SATA host driver is enabled")
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>
PS I have audited all drivers dependent on ATA again and this is
the only driver needing fixing.
> ---
> v2: use correct Fixes tag
> ---
> drivers/scsi/hisi_sas/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/scsi/hisi_sas/Kconfig b/drivers/scsi/hisi_sas/Kconfig
> index 90a17452a50d..13ed9073fc72 100644
> --- a/drivers/scsi/hisi_sas/Kconfig
> +++ b/drivers/scsi/hisi_sas/Kconfig
> @@ -6,6 +6,7 @@ config SCSI_HISI_SAS
> select SCSI_SAS_LIBSAS
> select BLK_DEV_INTEGRITY
> depends on ATA
> + select SATA_HOST
> help
> This driver supports HiSilicon's SAS HBA, including support based
> on platform device
>
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
Powered by blists - more mailing lists