* net/smc/smc_core.c:1016:13: sparse: sparse: invalid type for argument 1:
@ 2020-12-29 23:06 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-12-29 23:06 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 2540 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: dea8dcf2a9fa8cc540136a6cd885c3beece16ec3
commit: 541afa10c126b6c22c2a805a559c70cc41fd156e net/smc: add smcr_port_err() and smcr_link_down() processing
date: 8 months ago
:::::: branch date: 26 hours ago
:::::: commit date: 8 months ago
config: s390-randconfig-s031-20201230 (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-184-g1b896707-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
541afa10c126b6c Karsten Graul 2020-05-01 1012
541afa10c126b6c Karsten Graul 2020-05-01 1013 /* must be called under lgr->llc_conf_mutex lock */
541afa10c126b6c Karsten Graul 2020-05-01 1014 void smcr_link_down_cond(struct smc_link *lnk)
541afa10c126b6c Karsten Graul 2020-05-01 1015 {
541afa10c126b6c Karsten Graul 2020-05-01 @1016 if (smc_link_downing(&lnk->state))
541afa10c126b6c Karsten Graul 2020-05-01 1017 smcr_link_down(lnk);
541afa10c126b6c Karsten Graul 2020-05-01 1018 }
541afa10c126b6c 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: 23919 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread* net/smc/smc_core.c:1016:13: sparse: sparse: invalid type for argument 1:
@ 2021-02-03 6:30 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-02-03 6:30 UTC (permalink / raw)
To: kbuild
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-03 6:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-29 23:06 net/smc/smc_core.c:1016:13: sparse: sparse: invalid type for argument 1: kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2021-02-03 6:30 kernel test robot
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.