Skip to content
Commit bb73955c authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

cnic: 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_COMP which makes no
sense for an allocation that can't in any way be converted to a page
pointer.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 2fce26a1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment