mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 20:32:22 +00:00
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>
This commit is contained in:
parent
36ee98b555
commit
0c7752d5b1
@ -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
|
||||
* @flags: flags to pass
|
||||
|
Loading…
Reference in New Issue
Block a user