Skip to content
Snippets Groups Projects
Commit f7eaf7fc authored by Nilesh Javali's avatar Nilesh Javali
Browse files

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: default avatarChristoph Hellwig <hch@lst.de>

Signed-off-by: default avatarNilesh Javali <njavali@redhat.com>
parent 29e00cef
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment