cnic: don't pass bogus GFP_ flags to dma_alloc_coherent
authorChristoph Hellwig <hch@lst.de>
Wed, 9 Nov 2022 07:21:04 +0000 (08:21 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 21 Nov 2022 08:36:08 +0000 (09:36 +0100)
commitbb73955c0b1dc5717c2dda3fb5eb3f3706f6d859
tree0c82474137d9d12928cb3e6f4d19c1acc625fe18
parent2fce26a15f1709090ca70f4c7da017424b3b78b3
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: Christoph Hellwig <hch@lst.de>
drivers/net/ethernet/broadcom/cnic.c