summaryrefslogtreecommitdiffstats
path: root/include/linux/seqlock.h
diff options
context:
space:
mode:
authorValdis Kletnieks2019-01-29 07:04:25 +0100
committerGreg Kroah-Hartman2019-04-05 22:33:12 +0200
commitae92cf4760f8ee21db0297299be11cf3ed09bcc9 (patch)
tree7647399ab35c0eb686a3b4ea56be44bf5e57e6fc /include/linux/seqlock.h
parentblock, bfq: fix in-service-queue check for queue merging (diff)
downloadkernel-qcow2-linux-ae92cf4760f8ee21db0297299be11cf3ed09bcc9.tar.gz
kernel-qcow2-linux-ae92cf4760f8ee21db0297299be11cf3ed09bcc9.tar.xz
kernel-qcow2-linux-ae92cf4760f8ee21db0297299be11cf3ed09bcc9.zip
bpf: fix missing prototype warnings
[ Upstream commit 116bfa96a255123ed209da6544f74a4f2eaca5da ] Compiling with W=1 generates warnings: CC kernel/bpf/core.o kernel/bpf/core.c:721:12: warning: no previous prototype for ?bpf_jit_alloc_exec_limit? [-Wmissing-prototypes] 721 | u64 __weak bpf_jit_alloc_exec_limit(void) | ^~~~~~~~~~~~~~~~~~~~~~~~ kernel/bpf/core.c:757:14: warning: no previous prototype for ?bpf_jit_alloc_exec? [-Wmissing-prototypes] 757 | void *__weak bpf_jit_alloc_exec(unsigned long size) | ^~~~~~~~~~~~~~~~~~ kernel/bpf/core.c:762:13: warning: no previous prototype for ?bpf_jit_free_exec? [-Wmissing-prototypes] 762 | void __weak bpf_jit_free_exec(void *addr) | ^~~~~~~~~~~~~~~~~ All three are weak functions that archs can override, provide proper prototypes for when a new arch provides their own. Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu> Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/seqlock.h')
0 files changed, 0 insertions, 0 deletions