aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorGravatar Christoph Hellwig <hch@lst.de> 2022-11-09 08:37:17 +0100
committerGravatar Christoph Hellwig <hch@lst.de> 2022-11-21 09:37:20 +0100
commitffcb754584603adf7039d7972564fbf6febdc542 (patch)
treeffcb4184b490a6559a16baea06020804da298c80 /sound
parentALSA: memalloc: don't pass bogus GFP_ flags to dma_alloc_* (diff)
downloadlinux-ffcb754584603adf7039d7972564fbf6febdc542.tar.gz
linux-ffcb754584603adf7039d7972564fbf6febdc542.tar.bz2
linux-ffcb754584603adf7039d7972564fbf6febdc542.zip
dma-mapping: reject __GFP_COMP in dma_alloc_attrs
DMA allocations can never be turned back into a page pointer, so requesting compound pages doesn't make sense and it can't even be supported at all by various backends. Reject __GFP_COMP with a warning in dma_alloc_attrs, and stop clearing the flag in the arm dma ops and dma-iommu. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions