]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: libata: Fix the ata_scsi_dma_need_drain stub
authorChristoph Hellwig <hch@lst.de>
Sat, 20 Jun 2020 07:13:02 +0000 (09:13 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 24 Jun 2020 03:52:18 +0000 (23:52 -0400)
commitbef2988e66a373d254ba598044ac92abc2326975
tree4da3252b3dd5e83de7505b186884832df97f6725
parent507d5da14075c5d744bd5eaafdeb8e5be38b1db0
scsi: libata: Fix the ata_scsi_dma_need_drain stub

We not only need the stub when libata is disabled, but also if it is
modular and there are built-in SAS drivers (which can happen when
SCSI_SAS_ATA is disabled).

Link: https://lore.kernel.org/r/20200620071302.462974-2-hch@lst.de
Fixes: 49731b68ec3a ("scsi: Wire up ata_scsi_dma_need_drain for SAS HBA drivers")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
include/linux/libata.h