summaryrefslogtreecommitdiff
path: root/arch/arm/mm/dma-mapping.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-11-09 08:25:17 +0100
committerChristoph Hellwig <hch@lst.de>2022-11-21 09:36:19 +0100
commit3306877aff07363f9bede7f9edf2c4ea4f5b20be (patch)
treef617af373b56998ed49ba63bbcec167ca87c33dc /arch/arm/mm/dma-mapping.c
parentc08004eede4b2d8a42a9a14ee50904f47cb239a1 (diff)
ALSA: memalloc: don't pass bogus GFP_ flags to dma_alloc_*
dma_alloc_coherent/dma_alloc_wc 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. Note that for dma_alloc_noncoherent and dma_alloc_noncontigous in combination with the DMA mmap helpers __GFP_COMP looks sketchy as well, so I would suggest to drop that as well after a careful audit. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/arm/mm/dma-mapping.c')
0 files changed, 0 insertions, 0 deletions