Skip to content

Commit 197231d

Browse files
tobluxbrauner
authored andcommitted
proc: Fix W=1 build kernel-doc warning
Building the kernel with W=1 generates the following warning: fs/proc/fd.c:81: warning: This comment starts with '/**', but isn't a kernel-doc comment. Use a normal comment for the helper function proc_fdinfo_permission(). Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Link: https://lore.kernel.org/r/20241018102705.92237-2-thorsten.blum@linux.dev Signed-off-by: Christian Brauner <brauner@kernel.org>
1 parent 610a79f commit 197231d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/proc/fd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ static int seq_fdinfo_open(struct inode *inode, struct file *file)
7777
return single_open(file, seq_show, inode);
7878
}
7979

80-
/**
80+
/*
8181
* Shared /proc/pid/fdinfo and /proc/pid/fdinfo/fd permission helper to ensure
8282
* that the current task has PTRACE_MODE_READ in addition to the normal
8383
* POSIX-like checks.

0 commit comments

Comments
 (0)