Skip to content

Commit 0c7752d

Browse files
rddunlapakpm00
authored andcommitted
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.org Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Christian Brauner <brauner@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 parent 36ee98b commit 0c7752d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/pid.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ int pidfd_create(struct pid *pid, unsigned int flags)
609609
}
610610

611611
/**
612-
* pidfd_open() - Open new pid file descriptor.
612+
* sys_pidfd_open() - Open new pid file descriptor.
613613
*
614614
* @pid: pid for which to retrieve a pidfd
615615
* @flags: flags to pass

0 commit comments

Comments
 (0)