[PATCH] ubifs: fix kernel-doc warnings

Zhihao Cheng chengzhihao1 at huawei.com
Tue Dec 5 23:22:50 PST 2023


在 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 at infradead.org>
> Reported-by: kernel test robot <lkp at intel.com>
> Link: https://lore.kernel.org/oe-kbuild-all/202312030417.66c5PwHj-lkp@intel.com/
> Cc: Richard Weinberger <richard at nod.at>
> Cc: linux-mtd at lists.infradead.org
> ---
> 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 at huawei.com>




More information about the linux-mtd mailing list