From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: net/smc/smc_core.c:1016:13: sparse: sparse: invalid type for argument 1:
Date: Wed, 03 Feb 2021 14:30:10 +0800 [thread overview]
Message-ID: <202102031408.wTOxXoAx-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2532 bytes --]
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Karsten Graul <kgraul@linux.ibm.com>
CC: Ursula Braun <ubraun@linux.ibm.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 3aaf0a27ffc29b19a62314edd684b9bc6346f9a8
commit: 541afa10c126b6c22c2a805a559c70cc41fd156e net/smc: add smcr_port_err() and smcr_link_down() processing
date: 9 months ago
:::::: branch date: 12 hours ago
:::::: commit date: 9 months ago
config: s390-randconfig-s031-20210202 (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.3-215-g0fb77bb6-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=541afa10c126b6c22c2a805a559c70cc41fd156e
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 541afa10c126b6c22c2a805a559c70cc41fd156e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=s390
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
"sparse warnings: (new ones prefixed by >>)"
>> net/smc/smc_core.c:1016:13: sparse: sparse: invalid type for argument 1:
>> net/smc/smc_core.c:1016:13: sparse: unsigned int enum smc_link_state *
net/smc/smc_core.c:1023:13: sparse: sparse: invalid type for argument 1:
net/smc/smc_core.c:1023:13: sparse: unsigned int enum smc_link_state *
vim +1016 net/smc/smc_core.c
541afa10c126b6 Karsten Graul 2020-05-01 1012
541afa10c126b6 Karsten Graul 2020-05-01 1013 /* must be called under lgr->llc_conf_mutex lock */
541afa10c126b6 Karsten Graul 2020-05-01 1014 void smcr_link_down_cond(struct smc_link *lnk)
541afa10c126b6 Karsten Graul 2020-05-01 1015 {
541afa10c126b6 Karsten Graul 2020-05-01 @1016 if (smc_link_downing(&lnk->state))
541afa10c126b6 Karsten Graul 2020-05-01 1017 smcr_link_down(lnk);
541afa10c126b6 Karsten Graul 2020-05-01 1018 }
541afa10c126b6 Karsten Graul 2020-05-01 1019
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 32171 bytes --]
next reply other threads:[~2021-02-03 6:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-03 6:30 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-12-29 23:06 net/smc/smc_core.c:1016:13: sparse: sparse: invalid type for argument 1: kernel test robot
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=202102031408.wTOxXoAx-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild@lists.01.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.