Content-Type: multipart/mixed; boundary="===============1208759734752751737==" MIME-Version: 1.0 From: kbuild test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH 1/2] macsec: Support XPN frame handling - IEEE 802.1AEbw Date: Fri, 06 Mar 2020 21:55:13 +0800 Message-ID: <202003062120.Fw5sjf8v%lkp@intel.com> In-Reply-To: <20200305220108.18780-1-mayflowerera@gmail.com> List-Id: --===============1208759734752751737== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Era, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.6-rc4 next-20200305] [cannot apply to linux/master] [if your patch is applied to the wrong git tree, please drop us a note to h= elp improve the system. BTW, we also suggest to use '--base' option to specify = the base tree in git format-patch, please see https://stackoverflow.com/a/37406= 982] url: https://github.com/0day-ci/linux/commits/Era-Mayflower/macsec-Suppo= rt-XPN-frame-handling-IEEE-802-1AEbw/20200306-034501 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git = 9f65ed5fe41ce08ed1cb1f6a950f9ec694c142ad reproduce: # apt-get install sparse # sparse version: v0.6.1-174-g094d5a94-dirty make ARCH=3Dx86_64 allmodconfig make C=3D1 CF=3D'-fdiagnostic-prefix -D__CHECK_ENDIAN__' If you fix the issue, kindly add following tag Reported-by: kbuild test robot 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 assignmen= t (different base types) >> drivers/net/macsec.c:430:22: sparse: expected restricted ssci_t [user= type] 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 assignmen= t (different base types) >> drivers/net/macsec.c:431:20: sparse: expected restricted __be64 [user= type] pn >> drivers/net/macsec.c:431:20: sparse: got unsigned long long vim +430 drivers/net/macsec.c 424 = 425 static void macsec_fill_iv_xpn(unsigned char *iv, ssci_t ssci, u64 p= n, 426 salt_t salt) 427 { 428 struct gcm_iv_xpn *gcm_iv =3D (struct gcm_iv_xpn *)iv; 429 = > 430 gcm_iv->ssci =3D ssci ^ salt.ssci; > 431 gcm_iv->pn =3D cpu_to_be64(pn) ^ salt.pn; 432 } 433 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============1208759734752751737==--