commit | 1335d6fd65da11e9576c0a5dc6b8d65aadbfc9b6 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Oct 09 16:57:18 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Oct 10 22:38:50 2018 -0700 |
tree | 4d77841efdc1ae3a9bcee0a39eb42418b4b9c275 | |
parent | f3fadcb5644aa94c8197f1699798d95baa5d59a8 [diff] |
fore200e: devirtualize dma alloc calls There is no need for an indirection before calling the dma alloc routines now that we store a struct device in struct fore200e. Also remove the pointless GFP_ATOMIC for the sbus case, and fix the up the error handling by removing the 0 dma_addr test - some iommus can return 0 as a perfectly valid bus address. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: David S. Miller <davem@davemloft.net>