Skip to contentSkip to conversation

linux-next: build warning after merge of the ftrace tree

PATCH New Stephen Rothwell 2 participants 3 messages Oct 25, 2021 – Oct 26, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the ftrace tree, today's linux-next build (htmldocs) produced this warning:

lib/bootconfig.c:78: warning: Function parameter or member 'node_size' not described in 'xbc_get_info' lib/bootconfig.c:78: warning: Function parameter or member 'data_size' not described in 'xbc_get_info'

Introduced by commit

e306220cb7b7 ("bootconfig: Add xbc_get_info() for the node information")

Signature · 2 lines
Cheers,
Stephen Rothwell
maintainer
#1 lore raw
Quoted 11 lines · On Tue, 26 Oct 2021 10:35:53 +1100 Stephen Rothwell <[email protected]>…

Hi all,

After merging the ftrace tree, today's linux-next build (htmldocs) produced this warning:

lib/bootconfig.c:78: warning: Function parameter or member 'node_size' not described in 'xbc_get_info' lib/bootconfig.c:78: warning: Function parameter or member 'data_size' not described in 'xbc_get_info'

Introduced by commit

e306220cb7b7 ("bootconfig: Add xbc_get_info() for the node information")

Oops, thanks for reporting! I just missed '@' for those parameters...

Thank you,

Quoted 4 lines
Signature · 3 lines
-- 
Cheers,
Stephen Rothwell
Signature · 1 line
Masami Hiramatsu <[email protected]>
maintainer
#2 lore raw

PATCH 1/1 lib/bootconfig: Fix the xbc_get_info kerneldoc

In reply to Stephen Rothwell

Fix the kernel doc of xbc_get_info() to add '@' to the parameters.

Fixes e306220cb7b7 ("bootconfig: Add xbc_get_info() for the node information")
---
 lib/bootconfig.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
lib/bootconfig.c +2 -2
index 3276675b25e1..a10ab25f6fcc 100644
@@ -67,8 +67,8 @@ static inline void xbc_free_mem(void *addr, size_t size)
 #endif
 /**
  * xbc_get_info() - Get the information of loaded boot config
- * node_size: A pointer to store the number of nodes.
- * data_size: A pointer to store the size of bootconfig data.
+ * @node_size: A pointer to store the number of nodes.
+ * @data_size: A pointer to store the size of bootconfig data.
  *
  * Get the number of used nodes in @node_size if it is not NULL,
  * and the size of bootconfig data in @data_size if it is not NULL.