diff options
author | Christoph Hellwig | 2018-10-09 16:57:18 +0200 |
---|---|---|
committer | David S. Miller | 2018-10-10 22:38:50 -0700 |
commit | 1335d6fd65da11e9576c0a5dc6b8d65aadbfc9b6 (patch) | |
tree | 4d77841efdc1ae3a9bcee0a39eb42418b4b9c275 /samples | |
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions