summaryrefslogtreecommitdiff
path: root/ring.c
diff options
context:
space:
mode:
Diffstat (limited to 'ring.c')
0 files changed, 0 insertions, 0 deletions
x/net-next.git/commit/Documentation/DocBook?id=9c18fcf7ae0ef87f0723dfd74c27d608c7486e0e'>9c18fcf7ae0ef87f0723dfd74c27d608c7486e0e (patch) tree47e37ee905185e4b0021843cb7b1b2e483a035ce /Documentation/DocBook parent208fae5c3b9431013ad7bcea07cbcee114e7d163 (diff)
ARM: 8551/2: DMA: Fix kzalloc flags in __dma_alloc
Commit 19e6e5e5392b ("ARM: 8547/1: dma-mapping: store buffer information") allocates a structure meant for internal buffer management with the GFP flags of the buffer itself. This can trigger the following safeguard in the slab/slub allocator: if (unlikely(flags & GFP_SLAB_BUG_MASK)) { pr_emerg("gfp: %un", flags & GFP_SLAB_BUG_MASK); BUG(); } Fix this by filtering the flags that make the slab allocator unhappy. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Acked-by: Rabin Vincent <rabin@rab.in> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'Documentation/DocBook')