summaryrefslogtreecommitdiff
path: root/bpf.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-04-26 14:46:40 +0200
committerTobias Klauser <tklauser@distanz.ch>2016-04-26 14:47:11 +0200
commit4112e4fa36563699611c95d7a39664bcfa46a9b1 (patch)
tree53bfbd93985883d78252f9b0bba86c758aebbdb2 /bpf.c
parent4cc9f0befecc409684adab0b2924a763ec31b807 (diff)
ifpps: Mark arg parameter of on_panic_handler() as unused
This fixes the following -Wunused-parameter warning: ifpps.c: In function ‘on_panic_handler’: ifpps.c:1128:36: warning: unused parameter ‘arg’ [-Wunused-parameter] static void on_panic_handler(void *arg) Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'bpf.c')
0 files changed, 0 insertions, 0 deletions
__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/hwmon/tmp401')