public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb•auug.org.au>
To: Shuah Khan <skhan@linuxfoundation•org>,
	Brendan Higgins <brendanhiggins@google•com>
Cc: Vitor Massaru Iha <vitor@massaru•org>,
	Linux Kernel Mailing List <linux-kernel@vger•kernel.org>,
	Linux Next Mailing List <linux-next@vger•kernel.org>
Subject: linux-next: build warnings after merge of the kunit-next tree
Date: Thu, 15 Oct 2020 16:30:56 +1100	[thread overview]
Message-ID: <20201015163056.56fcc835@canb.auug.org.au> (raw)

[-- 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 --]

             reply	other threads:[~2020-10-15  5:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-15  5:30 Stephen Rothwell [this message]
2020-10-15 10:43 ` linux-next: build warnings after merge of the kunit-next tree 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201015163056.56fcc835@canb.auug.org.au \
    --to=sfr@canb$(echo .)auug.org.au \
    --cc=brendanhiggins@google$(echo .)com \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=skhan@linuxfoundation$(echo .)org \
    --cc=vitor@massaru$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox