linux-next: build warning after merge of the ftrace tree
Subsystems (3)
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
Masami Hiramatsu
maintainerQuoted 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: Addxbc_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]>
Masami Hiramatsu
maintainerPATCH 1/1 lib/bootconfig: Fix the xbc_get_info kerneldoc
In reply to Stephen RothwellFix the kernel doc of xbc_get_info() to add '@' to the parameters.
--- lib/bootconfig.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
lib/bootconfig.c +2 -2
@@ -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.