mirror of
https://github.com/torvalds/linux.git
synced 2026-12-06 05:14:35 +00:00
eventpoll: fix sphinx documentation build warning
Sphinx complains that ep_get_upwards_depth_proc() has a kerneldoc-style
comment without documenting its parameters.
This is an internal function that was not meant to show up in kernel
documentation, so fix the warning by changing the comment to a
non-kerneldoc one.
Fixes: 22bacca48a ("epoll: prevent creating circular epoll structures")
Reported-by: Stephen Rothwell <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Jann Horn <[email protected]>
Link: https://lore.kernel.org/[email protected]
Tested-by: Randy Dunlap <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
This commit is contained in:
+1
-3
@@ -2192,9 +2192,7 @@ static int ep_loop_check_proc(struct eventpoll *ep, int depth)
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* ep_get_upwards_depth_proc - determine depth of @ep when traversed upwards
|
||||
*/
|
||||
/* ep_get_upwards_depth_proc - determine depth of @ep when traversed upwards */
|
||||
static int ep_get_upwards_depth_proc(struct eventpoll *ep, int depth)
|
||||
{
|
||||
int result = 0;
|
||||
|
||||
Reference in New Issue
Block a user