summaryrefslogtreecommitdiffstats
path: root/kernel/cgroup/cgroup.c
diff options
context:
space:
mode:
authorValdis Kletnieks <valdis.kletnieks@vt.edu>2019-01-29 07:04:25 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2019-01-31 10:31:53 +0100
commit116bfa96a255123ed209da6544f74a4f2eaca5da (patch)
tree48a87b6490e61dd19ff7ff5a5be04a0bccbbf710 /kernel/cgroup/cgroup.c
parentbpf: fix bitrotted kerneldoc (diff)
downloadlinux-116bfa96a255123ed209da6544f74a4f2eaca5da.tar.xz
linux-116bfa96a255123ed209da6544f74a4f2eaca5da.zip
bpf: fix missing prototype warnings
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>
Diffstat (limited to 'kernel/cgroup/cgroup.c')
0 files changed, 0 insertions, 0 deletions