seccomp: fix kernel-doc function name warning
authorRandy Dunlap <rdunlap@infradead.org>
Sun, 8 Jan 2023 02:12:28 +0000 (18:12 -0800)
committerKees Cook <keescook@chromium.org>
Sat, 14 Jan 2023 01:01:06 +0000 (17:01 -0800)
commit0fb0624b15d21622c214617fda5c05a203b04564
tree2c0132edae1dca2bcab97a4988bcd0dfd62e8531
parent88603b6dc419445847923fcb7fe5080067a30f98
seccomp: fix kernel-doc function name warning

Move the ACTION_ONLY() macro so that it is not between the kernel-doc
notation and the function definition for seccomp_run_filters(),
eliminating a kernel-doc warning:

kernel/seccomp.c:400: warning: expecting prototype for seccomp_run_filters(). Prototype was for ACTION_ONLY() instead

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Kees Cook <keescook@chromium.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Will Drewry <wad@chromium.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20230108021228.15975-1-rdunlap@infradead.org
kernel/seccomp.c