]> git.baikalelectronics.ru Git - kernel.git/commit
dma-direct: don't crash on device without dma_mask
authorChristoph Hellwig <hch@lst.de>
Tue, 29 May 2018 14:15:12 +0000 (16:15 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 31 May 2018 16:35:36 +0000 (18:35 +0200)
commit86ae32eb78e0c6aa551c52c7567812ecbc63d5f3
tree4d687b27cafda181d5d0ee010127ea54e5e219a0
parent7b4726cf1bdfbd84e7bd29b4ae94b9f5a7288247
dma-direct: don't crash on device without dma_mask

Print a useful warning instead.

Reported-by: Finn Thain <fthain@telegraphics.com.au>
Tested-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Christoph Hellwig <hch@lst.de>
lib/dma-direct.c