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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Christian Brauner <[email protected]>
1 parent 610a79f commit 197231d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)