]> git.baikalelectronics.ru Git - kernel.git/commit
jbd2: fix kernel-doc descriptions for jbd2_journal_shrink_{scan,count}()
authorYang Li <yang.lee@linux.alibaba.com>
Mon, 10 Jan 2022 13:28:41 +0000 (21:28 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 3 Feb 2022 15:57:53 +0000 (10:57 -0500)
commit4be6bf846575f0a2cb0ba8204846bad5c88aa89d
tree6ac67b4631ac006e587b48679b9809e0a56840ae
parent37f9902f8674c9758359ca3d3cd09b98f89b97a9
jbd2: fix kernel-doc descriptions for jbd2_journal_shrink_{scan,count}()

Add the description of @shrink and @sc in jbd2_journal_shrink_scan() and
jbd2_journal_shrink_count() kernel-doc comment to remove warnings found
by running scripts/kernel-doc, which is caused by using 'make W=1'.
fs/jbd2/journal.c:1296: warning: Function parameter or member 'shrink'
not described in 'jbd2_journal_shrink_scan'
fs/jbd2/journal.c:1296: warning: Function parameter or member 'sc' not
described in 'jbd2_journal_shrink_scan'
fs/jbd2/journal.c:1320: warning: Function parameter or member 'shrink'
not described in 'jbd2_journal_shrink_count'
fs/jbd2/journal.c:1320: warning: Function parameter or member 'sc' not
described in 'jbd2_journal_shrink_count'

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20220110132841.34531-1-yang.lee@linux.alibaba.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/jbd2/journal.c