Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ubifs: auth.c: fix kernel-doc function prototype warning

Use the correct function name in the kernel-doc comment to prevent
a kernel-doc warning:

auth.c:30: warning: expecting prototype for ubifs_node_calc_hash(). Prototype was for __ubifs_node_calc_hash() instead

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Closes: lore.kernel.org/r/202311052125.gE1Rylox-lkp@intel.com
Cc: Richard Weinberger <richard@nod.at>
Cc: linux-mtd@lists.infradead.org
Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>

authored by

Randy Dunlap and committed by
Richard Weinberger
19c2fcb4 738fadaa

+1 -1
+1 -1
fs/ubifs/auth.c
··· 18 18 #include "ubifs.h" 19 19 20 20 /** 21 - * ubifs_node_calc_hash - calculate the hash of a UBIFS node 21 + * __ubifs_node_calc_hash - calculate the hash of a UBIFS node 22 22 * @c: UBIFS file-system description object 23 23 * @node: the node to calculate a hash for 24 24 * @hash: the returned hash