public inbox for linux-next@vger.kernel.org
 help / color / mirror / Atom feed
* linux-next: build warnings after merge of the kunit-next tree
@ 2020-10-15  5:30 Stephen Rothwell
  2020-10-15 10:43 ` Vitor Massaru Iha
  0 siblings, 1 reply; 6+ messages in thread
From: Stephen Rothwell @ 2020-10-15  5:30 UTC (permalink / raw)
  To: Shuah Khan, Brendan Higgins
  Cc: Vitor Massaru Iha, Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 786 bytes --]

Hi all,

After merging the kunit-next tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

lib/bitfield_kunit.c: In function 'test_bitfields_compile':
lib/bitfield_kunit.c:136:21: warning: unsigned conversion from 'int' to 'u16' {aka 'short unsigned int'} changes value from '393216' to '0' [-Woverflow]
  136 |  u16_encode_bits(0, 0x60000);
      |                     ^~~~~~~
At top level:
lib/bitfield_kunit.c:129:20: warning: 'test_bitfields_compile' defined but not used [-Wunused-function]
  129 | static void __init test_bitfields_compile(struct kunit *context)
      |                    ^~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

  d2585f5164c2 ("lib: kunit: add bitfield test conversion to KUnit")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread
* linux-next: build warnings after merge of the kunit-next tree
@ 2023-05-30  5:18 Stephen Rothwell
  2023-05-30  7:59 ` David Gow
  0 siblings, 1 reply; 6+ messages in thread
From: Stephen Rothwell @ 2023-05-30  5:18 UTC (permalink / raw)
  To: Shuah Khan, Brendan Higgins
  Cc: David Gow, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 1170 bytes --]

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")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-05-30  7:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-15  5:30 linux-next: build warnings after merge of the kunit-next tree Stephen Rothwell
2020-10-15 10:43 ` Vitor Massaru Iha
2020-10-15 18:01   ` Shuah Khan
2020-10-15 18:10     ` Vitor Massaru Iha
  -- strict thread matches above, loose matches on Subject: below --
2023-05-30  5:18 Stephen Rothwell
2023-05-30  7:59 ` David Gow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox