From: kbuild test robot <lkp@intel.com>
To: "Era, Mayflower," <mayflowerera@gmail.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: drivers/net/macsec.c:430:22: sparse: expected restricted ssci_t [usertype] ssci
Date: Tue, 9 Jun 2020 23:13:29 +0800 [thread overview]
Message-ID: <20200609151329.GU23011@xsang-OptiPlex-9020> (raw)
[-- Attachment #1: Type: text/plain, Size: 11299 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f359287765c04711ff54fbd11645271d8e5ff763
commit: a21ecf0e033807b976967286e6c392f48ee2049f macsec: Support XPN frame handling - IEEE 802.1AEbw
date: 3 months ago
:::::: branch date: 3 hours ago
:::::: commit date: 3 months ago
config: nios2-randconfig-s032-20200602 (attached as .config)
compiler: nios2-linux-gcc (GCC) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-243-gc100a7ab-dirty
git checkout a21ecf0e033807b976967286e6c392f48ee2049f
# save the attached .config to linux build tree
make W=1 C=1 ARCH=nios2 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
drivers/net/macsec.c:430:24: sparse: sparse: restricted ssci_t degrades to integer
drivers/net/macsec.c:430:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted ssci_t [usertype] ssci @@ got unsigned int @@
>> drivers/net/macsec.c:430:22: sparse: expected restricted ssci_t [usertype] ssci
>> drivers/net/macsec.c:430:22: sparse: got unsigned int
drivers/net/macsec.c:431:22: sparse: sparse: restricted __be64 degrades to integer
drivers/net/macsec.c:431:20: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __be64 [usertype] pn @@ got unsigned long long @@
>> drivers/net/macsec.c:431:20: sparse: expected restricted __be64 [usertype] pn
>> drivers/net/macsec.c:431:20: sparse: got unsigned long long
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: undefined identifier '__builtin_rdctl'
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: undefined identifier '__builtin_wrctl'
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function <noident>
arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function <noident>
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a21ecf0e033807b976967286e6c392f48ee2049f
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git remote update linus
git checkout a21ecf0e033807b976967286e6c392f48ee2049f
vim +430 drivers/net/macsec.c
c09440f7dcb304 Sabrina Dubroca 2016-03-11 424
a21ecf0e033807 Era Mayflower 2020-03-09 425 static void macsec_fill_iv_xpn(unsigned char *iv, ssci_t ssci, u64 pn,
a21ecf0e033807 Era Mayflower 2020-03-09 426 salt_t salt)
a21ecf0e033807 Era Mayflower 2020-03-09 427 {
a21ecf0e033807 Era Mayflower 2020-03-09 428 struct gcm_iv_xpn *gcm_iv = (struct gcm_iv_xpn *)iv;
a21ecf0e033807 Era Mayflower 2020-03-09 429
a21ecf0e033807 Era Mayflower 2020-03-09 @430 gcm_iv->ssci = ssci ^ salt.ssci;
a21ecf0e033807 Era Mayflower 2020-03-09 @431 gcm_iv->pn = cpu_to_be64(pn) ^ salt.pn;
a21ecf0e033807 Era Mayflower 2020-03-09 432 }
a21ecf0e033807 Era Mayflower 2020-03-09 433
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 27780 bytes --]
reply other threads:[~2020-06-09 15:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20200609151329.GU23011@xsang-OptiPlex-9020 \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mayflowerera@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).