summaryrefslogtreecommitdiff
path: root/ioexact.c
AgeCommit message (Expand)AuthorFilesLines
2013-06-17ioexact: make mayexit a boolDaniel Borkmann1-2/+5
2013-06-04xio: add ioexact operationsDaniel Borkmann1-0/+53
t>
authorAlexandre Courbot <acourbot@nvidia.com>2016-04-13 05:55:29 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2016-04-15 09:44:02 +0100
commit9c18fcf7ae0ef87f0723dfd74c27d608c7486e0e (patch)
tree47e37ee905185e4b0021843cb7b1b2e483a035ce
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