Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

advansys: don't build ARM

The advansys SCSI driver uses the dma_cache_sync function, which is
not available on the ARM architecture, and cannot be implemented
correctly, so we always get this build error:

drivers/scsi/advansys.c: In function 'advansys_get_sense_buffer_dma':
drivers/scsi/advansys.c:7882:2: error: implicit declaration of function 'dma_cache_sync' [-Werror=implicit-function-declaration]
dma_cache_sync(board->dev, scp->sense_buffer,
^

It seems nobody has missed this driver so far, so let's just
disable it for ARM to help randconfig builds.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Christoph Hellwig <hch@lst.de>

authored by

Arnd Bergmann and committed by
Christoph Hellwig
c86d1ae2 0aab6c3f

+1 -1
+1 -1
drivers/scsi/Kconfig
··· 493 493 494 494 config SCSI_ADVANSYS 495 495 tristate "AdvanSys SCSI support" 496 - depends on SCSI && VIRT_TO_BUS 496 + depends on SCSI && VIRT_TO_BUS && !ARM 497 497 depends on ISA || EISA || PCI 498 498 help 499 499 This is a driver for all SCSI host adapters manufactured by