diff options
author | Christoph Hellwig <hch@lst.de> | 2022-11-09 08:17:46 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2022-11-21 09:36:05 +0100 |
commit | 2fce26a15f1709090ca70f4c7da017424b3b78b3 (patch) | |
tree | b1e061e8891144e46341d3ea9a6d4652ee9a973c /drivers/gpio/gpiolib-of.c | |
parent | 82c310c33ace7d25c0475e49a6051727c48a8cc6 (diff) | |
download | linux-2fce26a15f1709090ca70f4c7da017424b3b78b3.tar.bz2 |
RDMA/qib: 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_USER which doesn't make
sense for a kernel DMA allocation or __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>
Acked-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/gpio/gpiolib-of.c')
0 files changed, 0 insertions, 0 deletions