]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bpf, cgroups: clean up kerneldoc warnings
authorValdis Kletnieks <valdis.kletnieks@vt.edu>
Tue, 29 Jan 2019 06:47:06 +0000 (01:47 -0500)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 31 Jan 2019 09:32:01 +0000 (10:32 +0100)
commit1832f4ef5867fd3898d8a6c6c1978b75d76fc246
tree47c9430cba4f805fc9394ccb84172cf6ac74e400
parent116bfa96a255123ed209da6544f74a4f2eaca5da
bpf, cgroups: clean up kerneldoc warnings

Building with W=1 reveals some bitrot:

  CC      kernel/bpf/cgroup.o
kernel/bpf/cgroup.c:238: warning: Function parameter or member 'flags' not described in '__cgroup_bpf_attach'
kernel/bpf/cgroup.c:367: warning: Function parameter or member 'unused_flags' not described in '__cgroup_bpf_detach'

Add a kerneldoc line for 'flags'.

Fixing the warning for 'unused_flags' is best approached by
removing the unused parameter on the function call.

Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
include/linux/bpf-cgroup.h
kernel/bpf/cgroup.c
kernel/cgroup/cgroup.c