OSDN Git Service

fs: eventpoll: fix comments & kernel-doc notation
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 1 Mar 2021 22:25:51 +0000 (15:25 -0700)
committerJonathan Corbet <corbet@lwn.net>
Sun, 7 Mar 2021 00:36:53 +0000 (17:36 -0700)
commita6c67fee9cf09552a6d37724a91e1183a06a79cb
treebea71c3690574bfabc8a3028792db0c1420b6291
parent26bea42771c553f1b0dddb48875688f0e85477a4
fs: eventpoll: fix comments & kernel-doc notation

Use the documented kernel-doc format for function Return: descriptions.
Begin constant values in kernel-doc comments with '%'.

Remove kernel-doc "/**" from 2 functions that are not documented with
kernel-doc notation.

Fix typos, punctuation, & grammar.

Also fix a few kernel-doc warnings:

../fs/eventpoll.c:1883: warning: Function parameter or member 'ep' not described in 'ep_loop_check_proc'
../fs/eventpoll.c:1883: warning: Excess function parameter 'priv' description in 'ep_loop_check_proc'
../fs/eventpoll.c:1932: warning: Function parameter or member 'ep' not described in 'ep_loop_check'
../fs/eventpoll.c:1932: warning: Excess function parameter 'from' description in 'ep_loop_check'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
fs/eventpoll.c