seccomp: fix the kernel-doc comment for the notification structure
PATCH 1/1 seccomp: fix the kernel-doc comment for the notification structure
Remove an empty line and resort parameters in the comment.
Fixes 48a1084a8b74 ("seccomp: add the synchronous mode for seccomp_unotify")
Reported-by kernel test robot <[email protected]>
Signed-off-by Andrei Vagin <[email protected]>
--- kernel/seccomp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
kernel/seccomp.c +1 -2
@@ -141,11 +141,10 @@ struct seccomp_kaddfd {* @request: A semaphore that users of this notification can wait on for * changes. Actual reads and writes are still controlled with * filter->notify_lock. +* @flags: A set of SECCOMP_USER_NOTIF_FD_* flags. * @next_id: The id of the next request. * @notifications: A list of struct seccomp_knotif elements. -* @flags: A set of SECCOMP_USER_NOTIF_FD_* flags. */ -struct notification {atomic_t requests;u32 flags;
Signature · 1 line
2.42.0.rc1.204.g551eb34607-goog
Quoted 6 lines · Andrei Vagin
Remove an empty line and resort parameters in the comment.
Fixes 48a1084a8b74 ("seccomp: add the synchronous mode for seccomp_unotify")Reported-by kernel test robot <[email protected]>Signed-off-by Andrei Vagin <[email protected]>
Thanks! I actually just sent this patch earlier, which fixes all of the warnings being reported for the kerndoc build:
https://lore.kernel.org/lkml/[email protected]/
Signature · 1 line
Kees Cook