在 2023/12/6 10:48, Randy Dunlap 写道:
Fix kernel-doc warnings found when using "W=1". file.c:1385: warning: Excess function parameter 'time' description in 'ubifs_update_time' and 9 warnings like this one: file.c:326: warning: No description found for return value of 'allocate_budget' auth.c:30: warning: expecting prototype for ubifs_node_calc_hash(). Prototype was for __ubifs_node_calc_hash() instead and 11 warnings like this one: auth.c:30: warning: No description found for return value of '__ubifs_node_calc_hash' Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> Reported-by: kernel test robot <lkp@xxxxxxxxx> Link: https://lore.kernel.org/oe-kbuild-all/202312030417.66c5PwHj-lkp@xxxxxxxxx/ Cc: Richard Weinberger <richard@xxxxxx> Cc: linux-mtd@xxxxxxxxxxxxxxxxxxx --- This does not Close: the report kernel robot report since there is also a missing-prototype warning in it. fs/ubifs/auth.c | 28 ++++++++++++++++------------ fs/ubifs/file.c | 30 +++++++++++++++++++++--------- 2 files changed, 37 insertions(+), 21 deletions(-)
Reviewed-by: Zhihao Cheng <chengzhihao1@xxxxxxxxxx>