[net-next:master 40/41] include/linux/soc/marvell/octeontx2/asm.h:38:15: error: unknown type name 'u64'
From: kernel test robot <hidden>
Date: 2021-09-29 13:03:41
Also in:
oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: 1e0083bd0777e4a418a6710d9ee04b979cdbe5cc commit: af3826db74d184bc9c2c9d3ff34548e5f317a6f3 [40/41] octeontx2-pf: Use hardware register for CQE count config: arm64-randconfig-r032-20210929 (attached as .config) compiler: aarch64-linux-gcc (GCC) 11.2.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commit/?id=af3826db74d184bc9c2c9d3ff34548e5f317a6f3 git remote add net-next https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git git fetch --no-tags net-next master git checkout af3826db74d184bc9c2c9d3ff34548e5f317a6f3 # save the attached .config to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/crypto/marvell/octeontx2/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <redacted> All errors (new ones prefixed by >>): In file included from drivers/crypto/marvell/octeontx2/cn10k_cpt.c:4:
quoted
include/linux/soc/marvell/octeontx2/asm.h:38:15: error: unknown type name 'u64'
38 | static inline u64 otx2_atomic64_fetch_add(u64 incr, u64 *ptr)
| ^~~
include/linux/soc/marvell/octeontx2/asm.h:38:43: error: unknown type name 'u64'
38 | static inline u64 otx2_atomic64_fetch_add(u64 incr, u64 *ptr)
| ^~~
include/linux/soc/marvell/octeontx2/asm.h:38:53: error: unknown type name 'u64'
38 | static inline u64 otx2_atomic64_fetch_add(u64 incr, u64 *ptr)
| ^~~
vim +/u64 +38 include/linux/soc/marvell/octeontx2/asm.h
37
> 38 static inline u64 otx2_atomic64_fetch_add(u64 incr, u64 *ptr)
39 {
40 u64 result;
41
42 asm volatile (".cpu generic+lse\n"
43 "ldadda %x[i], %x[r], [%[b]]"
44 : [r] "=r" (result), "+m" (*ptr)
45 : [i] "r" (incr), [b] "r" (ptr)
46 : "memory");
47 return result;
48 }
49
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Attachments
- .config.gz [application/gzip] 56417 bytes