CC: [email protected]
CC: [email protected]
TO: Karsten Graul <[email protected]>
CC: Ursula Braun <[email protected]>

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


"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/[email protected]

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to