summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBaoquan He <hebaoquan@kylinos.cn>2026-09-03 19:18:30 +0800
committerAndrew Morton <akpm@linux-foundation.org>2026-10-24 01:55:59 -0700
commit4facd31d97d9fcdbf3a71f97463ca3894fb035a2 (patch)
treefcc3fd36e0f8db64d74b81bb8c7fd3649702760a /tools
parentfd3d2126e737c9c95d78d30904916ff84ebd2940 (diff)
usb: cdns3: don't use GFP_DMA when calling dma_alloc_coherent()
dma_alloc_coherent() allocates the DMA buffer with the device's addressing limitation in mind; the DMA core picks the zone from the device's coherent DMA mask and ignores GFP_DMA passed by the caller. Use GFP_KERNEL instead so the allocation may reclaim as usual for probe-time allocations. Link: https://lore.kernel.org/20260903111836.1777265-8-hebaoquan@kylinos.cn Signed-off-by: Baoquan He <hebaoquan@kylinos.cn> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Cc: Christoph Hellwig <hch@lst.de> Cc: Harry Yoo <harry@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions