diff options
author | Christoph Hellwig <[email protected]> | 2022-11-09 08:15:00 +0100 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2022-11-21 09:35:52 +0100 |
commit | 82c310c33ace7d25c0475e49a6051727c48a8cc6 (patch) | |
tree | 41707c5d544c5751c9e54eda67c64be6956a74fc /drivers/usb/cdns3/cdns3-debug.h | |
parent | b3dc3f8e49577840dc8ac8a365c5b3da4edb10b8 (diff) |
RDMA/hfi1: don't pass bogus GFP_ flags to dma_alloc_coherent
dma_alloc_coherent is an opaque allocator that only uses the GFP_ flags
for allocation context control. Don't pass GFP_USER which doesn't make
sense for a kernel DMA allocation or __GFP_COMP which makes no sense
for an allocation that can't in any way be converted to a page pointer.
Signed-off-by: Christoph Hellwig <[email protected]>
Acked-by: Jason Gunthorpe <[email protected]>
Acked-by: Dean Luick <[email protected]>
Tested-by: Dean Luick <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions