]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/dma: Cleanup dma-iommu.h
authorChristoph Hellwig <hch@lst.de>
Mon, 20 May 2019 07:29:26 +0000 (09:29 +0200)
committerJoerg Roedel <jroedel@suse.de>
Mon, 27 May 2019 15:31:10 +0000 (17:31 +0200)
commit354db8ca88c66726fe81cd44ada3873f457e46b5
tree579dc81b1f505ab62aad1113f4a974c8e5858726
parentd4af5abda2664f52c5d43457c52ea397f34be5cb
iommu/dma: Cleanup dma-iommu.h

No need for a __KERNEL__ guard outside uapi and add a missing comment
describing the #else cpp statement.  Last but not least include
<linux/errno.h> instead of the asm version, which is frowned upon.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
include/linux/dma-iommu.h