Commit 0c7752d5 authored by Randy Dunlap's avatar Randy Dunlap Committed by Andrew Morton

pidfd: prevent a kernel-doc warning

Change the comment to match the function name that the SYSCALL_DEFINE()
macros generate to prevent a kernel-doc warning.

kernel/pid.c:628: warning: expecting prototype for pidfd_open(). Prototype was for sys_pidfd_open() instead

Link: https://lkml.kernel.org/r/20230912060822.2500-1-rdunlap@infradead.orgSigned-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Cc: Christian Brauner <brauner@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 36ee98b5
...@@ -609,7 +609,7 @@ int pidfd_create(struct pid *pid, unsigned int flags) ...@@ -609,7 +609,7 @@ int pidfd_create(struct pid *pid, unsigned int flags)
} }
/** /**
* pidfd_open() - Open new pid file descriptor. * sys_pidfd_open() - Open new pid file descriptor.
* *
* @pid: pid for which to retrieve a pidfd * @pid: pid for which to retrieve a pidfd
* @flags: flags to pass * @flags: flags to pass
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment