* [PATCH] ubifs: auth.c: fix kernel-doc function prototype warning
@ 2023-11-06 6:07 Randy Dunlap
2023-11-06 6:18 ` Zhihao Cheng
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2023-11-06 6:07 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, kernel test robot, Richard Weinberger, linux-mtd
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
---
fs/ubifs/auth.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -- a/fs/ubifs/auth.c b/fs/ubifs/auth.c
--- a/fs/ubifs/auth.c
+++ b/fs/ubifs/auth.c
@@ -18,7 +18,7 @@
#include "ubifs.h"
/**
- * ubifs_node_calc_hash - calculate the hash of a UBIFS node
+ * __ubifs_node_calc_hash - calculate the hash of a UBIFS node
* @c: UBIFS file-system description object
* @node: the node to calculate a hash for
* @hash: the returned hash
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ubifs: auth.c: fix kernel-doc function prototype warning
2023-11-06 6:07 [PATCH] ubifs: auth.c: fix kernel-doc function prototype warning Randy Dunlap
@ 2023-11-06 6:18 ` Zhihao Cheng
0 siblings, 0 replies; 2+ messages in thread
From: Zhihao Cheng @ 2023-11-06 6:18 UTC (permalink / raw)
To: Randy Dunlap, linux-kernel
Cc: kernel test robot, Richard Weinberger, linux-mtd
在 2023/11/6 14:07, Randy Dunlap 写道:
> 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
> ---
> fs/ubifs/auth.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-06 6:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-06 6:07 [PATCH] ubifs: auth.c: fix kernel-doc function prototype warning Randy Dunlap
2023-11-06 6:18 ` Zhihao Cheng
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®