Commit f7eaf7f
Nilesh Javali
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 bb73955
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>1 parent 29e00ce commit f7eaf7f
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1027 | 1027 | | |
1028 | 1028 | | |
1029 | 1029 | | |
1030 | | - | |
1031 | | - | |
| 1030 | + | |
1032 | 1031 | | |
1033 | 1032 | | |
1034 | 1033 | | |
1035 | 1034 | | |
1036 | 1035 | | |
1037 | 1036 | | |
1038 | | - | |
1039 | | - | |
| 1037 | + | |
1040 | 1038 | | |
1041 | 1039 | | |
1042 | 1040 | | |
| |||
0 commit comments