[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241018102705.92237-2-thorsten.blum@linux.dev>
Date: Fri, 18 Oct 2024 12:27:03 +0200
From: Thorsten Blum <thorsten.blum@...ux.dev>
To: Christian Brauner <brauner@...nel.org>,
Josef Bacik <josef@...icpanda.com>,
"Tyler Hicks (Microsoft)" <code@...icks.com>,
Al Viro <viro@...iv.linux.org.uk>,
Yan Zhen <yanzhen@...o.com>
Cc: Thorsten Blum <thorsten.blum@...ux.dev>,
linux-kernel@...r.kernel.org,
linux-fsdevel@...r.kernel.org
Subject: [PATCH] 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@...ux.dev>
---
fs/proc/fd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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.
--
2.47.0
Powered by blists - more mailing lists