Thread (11 messages) flat view 11 messages, 3 authors, 2014-06-26

[PATCH 4/4] [SCSI] NCR53c406a: don't call free_dma() by default

From: hch@infradead.org (Christoph Hellwig)
Date: 2014-06-11 12:17:57
Also in: linux-scsi

On Thu, Jun 05, 2014 at 11:29:49PM +0200, Arnd Bergmann wrote:
The NCR53c406a scsi driver normally does not use DMA, unless
the USE_PIO macro is disabled by modifying the source code.

The call to free_dma() for some reason uses #ifdef USE_DMA,
which does not do the right thing, since USE_DMA is defined
as a boolean that is either 0 or 1, but always present.

One case where it gets in the way is randconfig builds on ARM,
which depending on the configuration does not provide a free_dma()
function, causing this build error:
Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help