diff options
author | Thorsten Blum <thorsten.blum@linux.dev> | 2024-10-18 13:27:03 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-10-18 14:02:47 +0300 |
commit | 197231da7f6a2e9884f84a4a463f53f9f491d920 (patch) | |
tree | ba08f7a95bd9c144886f2a251b879051ff11dd8d /fs | |
parent | 610a79ffea02102899a1373fe226d949944a7ed6 (diff) | |
download | linux-197231da7f6a2e9884f84a4a463f53f9f491d920.tar.xz |
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/proc/fd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/fd.c b/fs/proc/fd.c index 1f54a54bfb91..5e391cbca7a3 100644 --- a/fs/proc/fd.c +++ b/fs/proc/fd.c @@ -77,7 +77,7 @@ static int seq_fdinfo_open(struct inode *inode, struct file *file) return single_open(file, seq_show, inode); } -/** +/* * Shared /proc/pid/fdinfo and /proc/pid/fdinfo/fd permission helper to ensure * that the current task has PTRACE_MODE_READ in addition to the normal * POSIX-like checks. |