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-20220125]
[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-...
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/archive/20220125/202201252050.7ejD1NJn-lk...)
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/1b0bcd68c9d10bc6072c6ab1bf35ef8f7...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Nathan-Huckleberry/crypto-HCTR2-support/20220125-102317
git checkout 1b0bcd68c9d10bc6072c6ab1bf35ef8f7dc51bf2
# save the config file to linux build tree
mkdir build_dir
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir
ARCH=x86_64 SHELL=/bin/bash arch/x86/crypto/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
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 restricted
__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_to_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_le32(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@lists.01.org