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

From: David Gow
Date: Tue May 30 2023 - 03:59:23 EST


On Tue, 30 May 2023 at 13:18, Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> 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")
>

Nice catch, thanks!

Fix is out here, will hopefully land soon:
https://lore.kernel.org/linux-kselftest/20230530075557.1558422-2-davidgow@xxxxxxxxxx/T/#u

Cheers,
-- David

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature