Skip to contentSkip to conversation

linux-next: build warnings after merge of the kunit-next tree

DISCUSSION Stephen Rothwell 2 participants 2 messages May 30, 2023 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the kunit-next tree, today's linux-next build (htmldocs) produced these warnings:

include/kunit/resource.h:413: warning: Function parameter or member 'action' not described in 'kunit_add_action' include/kunit/resource.h:413: warning: Excess function parameter 'func' description in 'kunit_add_action' include/kunit/resource.h:439: warning: Function parameter or member 'action' not described in 'kunit_add_action_or_reset' include/kunit/resource.h:439: warning: Excess function parameter 'func' description in 'kunit_add_action_or_re`set' include/kunit/resource.h:457: warning: Function parameter or member 'action' not described in 'kunit_remove_action' include/kunit/resource.h:457: warning: Excess function parameter 'func' description in 'kunit_remove_action' include/kunit/resource.h:481: warning: Function parameter or member 'action' not described in 'kunit_release_action' include/kunit/resource.h:481: warning: Excess function parameter 'func' description in 'kunit_release_action'

Introduced by commit

b9dce8a1ed3e ("kunit: Add kunit_add_action() to defer a call until test exit")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 15 lines · Stephen Rothwell

Hi all,

After merging the kunit-next tree, today's linux-next build (htmldocs) produced these warnings:

include/kunit/resource.h:413: warning: Function parameter or member 'action' not described in 'kunit_add_action' include/kunit/resource.h:413: warning: Excess function parameter 'func' description in 'kunit_add_action' include/kunit/resource.h:439: warning: Function parameter or member 'action' not described in 'kunit_add_action_or_reset' include/kunit/resource.h:439: warning: Excess function parameter 'func' description in 'kunit_add_action_or_re`set' include/kunit/resource.h:457: warning: Function parameter or member 'action' not described in 'kunit_remove_action' include/kunit/resource.h:457: warning: Excess function parameter 'func' description in 'kunit_remove_action' include/kunit/resource.h:481: warning: Function parameter or member 'action' not described in 'kunit_release_action' include/kunit/resource.h:481: warning: Excess function parameter 'func' description in 'kunit_release_action'

Quoted 4 lines

Introduced by commit

b9dce8a1ed3e ("kunit: Add kunit_add_action() to defer a call until test exit")

Nice catch, thanks!

Fix is out here, will hopefully land soon:
https://lore.kernel.org/linux-kselftest/[email protected]/T/#u

Cheers,
-- David