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: c9a5d243035161f06175a7c6d487c9860e0f179a net/smc: delete an asymmetric link as SMC server 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=c9a5d243035161f06175a7c6d487c9860e0f179a git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout c9a5d243035161f06175a7c6d487c9860e0f179a # 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_llc.c:920:14: sparse: sparse: invalid type for argument 1: >> net/smc/smc_llc.c:920:14: sparse: unsigned int enum smc_link_state * vim +920 net/smc/smc_llc.c c9a5d243035161f Karsten Graul 2020-05-03 910 c9a5d243035161f Karsten Graul 2020-05-03 911 static void smc_llc_delete_asym_link(struct smc_link_group *lgr) c9a5d243035161f Karsten Graul 2020-05-03 912 { c9a5d243035161f Karsten Graul 2020-05-03 913 struct smc_link *lnk_new = NULL, *lnk_asym; c9a5d243035161f Karsten Graul 2020-05-03 914 struct smc_llc_qentry *qentry; c9a5d243035161f Karsten Graul 2020-05-03 915 int rc; c9a5d243035161f Karsten Graul 2020-05-03 916 c9a5d243035161f Karsten Graul 2020-05-03 917 lnk_asym = smc_llc_find_asym_link(lgr); c9a5d243035161f Karsten Graul 2020-05-03 918 if (!lnk_asym) c9a5d243035161f Karsten Graul 2020-05-03 919 return; /* no asymmetric link */ c9a5d243035161f Karsten Graul 2020-05-03 @920 if (!smc_link_downing(&lnk_asym->state)) c9a5d243035161f Karsten Graul 2020-05-03 921 return; c9a5d243035161f Karsten Graul 2020-05-03 922 /* tbd: lnk_new = smc_switch_conns(lgr, lnk_asym, false); */ c9a5d243035161f Karsten Graul 2020-05-03 923 smc_wr_tx_wait_no_pending_sends(lnk_asym); c9a5d243035161f Karsten Graul 2020-05-03 924 if (!lnk_new) c9a5d243035161f Karsten Graul 2020-05-03 925 goto out_free; c9a5d243035161f Karsten Graul 2020-05-03 926 /* change flow type from ADD_LINK into DEL_LINK */ c9a5d243035161f Karsten Graul 2020-05-03 927 lgr->llc_flow_lcl.type = SMC_LLC_FLOW_DEL_LINK; c9a5d243035161f Karsten Graul 2020-05-03 928 rc = smc_llc_send_delete_link(lnk_new, lnk_asym->link_id, SMC_LLC_REQ, c9a5d243035161f Karsten Graul 2020-05-03 929 true, SMC_LLC_DEL_NO_ASYM_NEEDED); c9a5d243035161f Karsten Graul 2020-05-03 930 if (rc) { c9a5d243035161f Karsten Graul 2020-05-03 931 smcr_link_down_cond(lnk_new); c9a5d243035161f Karsten Graul 2020-05-03 932 goto out_free; c9a5d243035161f Karsten Graul 2020-05-03 933 } c9a5d243035161f Karsten Graul 2020-05-03 934 qentry = smc_llc_wait(lgr, lnk_new, SMC_LLC_WAIT_TIME, c9a5d243035161f Karsten Graul 2020-05-03 935 SMC_LLC_DELETE_LINK); c9a5d243035161f Karsten Graul 2020-05-03 936 if (!qentry) { c9a5d243035161f Karsten Graul 2020-05-03 937 smcr_link_down_cond(lnk_new); c9a5d243035161f Karsten Graul 2020-05-03 938 goto out_free; c9a5d243035161f Karsten Graul 2020-05-03 939 } c9a5d243035161f Karsten Graul 2020-05-03 940 smc_llc_flow_qentry_del(&lgr->llc_flow_lcl); c9a5d243035161f Karsten Graul 2020-05-03 941 out_free: c9a5d243035161f Karsten Graul 2020-05-03 942 smcr_link_clear(lnk_asym); c9a5d243035161f Karsten Graul 2020-05-03 943 } c9a5d243035161f Karsten Graul 2020-05-03 944 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected]
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
