OSDN Git Service

dma-direct: add dma address sanity checks
authorChristoph Hellwig <hch@lst.de>
Tue, 9 Jan 2018 15:30:47 +0000 (16:30 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 15 Jan 2018 08:35:08 +0000 (09:35 +0100)
commit2797596992898034256a6c40168d357ccf0ba0b8
tree0d42c4f073382e26f817f39f2a9659774d7ffb05
parent2e86a04780c6ebb64581013054f8260d040c2c9e
dma-direct: add dma address sanity checks

Roughly based on the x86 pci-nommu implementation.

Signed-off-by: Christoph Hellwig <hch@lst.de>
lib/dma-direct.c