diff options
| author | Randy Dunlap <rdunlap@infradead.org> | 2026-05-18 21:23:14 -0700 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-05-22 14:32:06 +0200 |
| commit | 70a03a385de2b8f0fa54dbc70bdc3ed176853d1c (patch) | |
| tree | c16a69e7bfd8fa4c5fe2349c0184cec79fb4b5a4 | |
| parent | 6ece1a31c58c8c8293ecbbe79d7f92d52e1b0022 (diff) | |
| download | linux-70a03a385de2b8f0fa54dbc70bdc3ed176853d1c.tar.gz linux-70a03a385de2b8f0fa54dbc70bdc3ed176853d1c.zip | |
eventpoll: add missing kernel-doc for @ctx function parameters
Add the missing kernel-doc comments to prevent kernel-doc build
warnings while building the documentation.
WARNING: fs/eventpoll.c:1684 function parameter 'ctx' not described in 'reverse_path_check'
WARNING: fs/eventpoll.c:2349 function parameter 'ctx' not described in 'ep_loop_check_proc'
Fixes: e09c77d94003 ("eventpoll: hoist CTL_ADD scratch state into struct ep_ctl_ctx")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://patch.msgid.link/20260519042314.124041-1-rdunlap@infradead.org
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
| -rw-r--r-- | fs/eventpoll.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/eventpoll.c b/fs/eventpoll.c index a569e98d4a99..baa97d0edade 100644 --- a/fs/eventpoll.c +++ b/fs/eventpoll.c @@ -1677,6 +1677,7 @@ static int reverse_path_check_proc(struct ep_ctl_ctx *ctx, * anchoring files with newly proposed links; make * sure those links don't push any path-length bucket * over its limit in path_limits[]. + * @ctx: Per-do_epoll_ctl() scratch for the loop / path checks. * * Return: %zero if the proposed links don't create too many paths, * %-1 otherwise. @@ -2339,6 +2340,7 @@ static int ep_poll(struct eventpoll *ep, struct epoll_event __user *events, * epoll file does not create closed loops, and * determine the depth of the subtree starting at @ep * + * @ctx: Per-do_epoll_ctl() scratch for the loop / path checks. * @ep: the &struct eventpoll to be currently checked. * @depth: Current depth of the path being checked. * |
