cnic: don't pass bogus GFP_ flags to dma_alloc_coherent
Bugzilla: https://bugzilla.redhat.com/2164967 Upstream Status: git://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git commit bb73955c Author: Christoph Hellwig <hch@lst.de> Date: Wed Nov 9 08:21:04 2022 +0100 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> Signed-off-by:
Nilesh Javali <njavali@redhat.com>
Loading
Please register or sign in to comment