]> git.baikalelectronics.ru Git - kernel.git/commit
dma-direct: improve DMA mask overflow reporting
authorChristoph Hellwig <hch@lst.de>
Mon, 3 Feb 2020 13:54:50 +0000 (14:54 +0100)
committerChristoph Hellwig <hch@lst.de>
Wed, 5 Feb 2020 17:53:41 +0000 (18:53 +0100)
commita2e5787e88d705b4a6744044d2c5251e80d2ea16
tree5cf018aa97ba4a8bbb1be9ddde3186b4ce572b42
parent454aa35090ed48c871ce21fbeb612ca26588516a
dma-direct: improve DMA mask overflow reporting

Remove the unset dma_mask case as that won't get into mapping calls
anymore, and also report the other errors unconditonally and with a
slightly improved message.  Remove the now pointless report_addr helper.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Konrad Rzeszutek Wilk <konrad@darnok.org>
kernel/dma/direct.c