From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============6709074391114075279==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [RFC PATCH 4/7] crypto: x86/aesni-xctr: Add accelerated implementation of XCTR Date: Tue, 25 Jan 2022 20:29:37 +0800 Message-ID: <202201252050.7ejD1NJn-lkp@intel.com> In-Reply-To: <20220125014422.80552-5-nhuck@google.com> List-Id: --===============6709074391114075279== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Nathan, [FYI, it's a private test report for your RFC patch.] [auto build test WARNING on herbert-cryptodev-2.6/master] [also build test WARNING on herbert-crypto-2.6/master v5.17-rc1 next-202201= 25] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Nathan-Huckleberry/crypto-= HCTR2-support/20220125-102317 base: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2= .6.git master config: x86_64-randconfig-s021-20220124 (https://download.01.org/0day-ci/ar= chive/20220125/202201252050.7ejD1NJn-lkp(a)intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.4-dirty # https://github.com/0day-ci/linux/commit/1b0bcd68c9d10bc6072c6ab1b= f35ef8f7dc51bf2 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Nathan-Huckleberry/crypto-HCTR2-su= pport/20220125-102317 git checkout 1b0bcd68c9d10bc6072c6ab1bf35ef8f7dc51bf2 # save the config file to linux build tree mkdir build_dir make W=3D1 C=3D1 CF=3D'-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=3D= build_dir ARCH=3Dx86_64 SHELL=3D/bin/bash arch/x86/crypto/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) arch/x86/crypto/aesni-intel_glue.c: note: in included file: >> include/crypto/xctr.h:16:9: sparse: sparse: incorrect type in assignment= (different base types) @@ expected unsigned int x @@ got restricte= d __le32 [usertype] @@ include/crypto/xctr.h:16:9: sparse: expected unsigned int x include/crypto/xctr.h:16:9: sparse: got restricted __le32 [usertype] vim +16 include/crypto/xctr.h 80a94d80c08052e Nathan Huckleberry 2022-01-24 12 = 80a94d80c08052e Nathan Huckleberry 2022-01-24 13 static inline void u32_t= o_le_block(u8 *a, u32 x, unsigned int size) 80a94d80c08052e Nathan Huckleberry 2022-01-24 14 { 80a94d80c08052e Nathan Huckleberry 2022-01-24 15 memset(a, 0, size); 80a94d80c08052e Nathan Huckleberry 2022-01-24 @16 put_unaligned(cpu_to_le= 32(x), (u32 *)a); 80a94d80c08052e Nathan Huckleberry 2022-01-24 17 } 80a94d80c08052e Nathan Huckleberry 2022-01-24 18 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============6709074391114075279==--