Re: [PATCH 1/2] hisi_sas: SCSI_HISI_SAS should depend on HAS_DMA

From: Martin K. Petersen
Date: Tue Jan 19 2016 - 20:38:56 EST


>>>>> "Geert" == Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> writes:

Geert> If NO_DMA=y: ERROR: "dma_map_sg"
Geert> [drivers/scsi/hisi_sas/hisi_sas_v1_hw.ko] undefined! ERROR:
Geert> "dma_pool_alloc" [drivers/scsi/hisi_sas/hisi_sas_v1_hw.ko]
Geert> undefined! ERROR: "dma_unmap_sg"

Geert> Add a dependency on HAS_DMA to fix this.

Applied to 4.5/scsi-fixes.

--
Martin K. Petersen Oracle Linux Engineering