tree:
https://android.googlesource.com/kernel/common android12-5.10
head: 0497b9601bee1f96c3ef3c169090e1ac4118f15d
commit: 3fcbb15c1a91a318fb9367bee24603af24648a2d [4030/10672] ANDROID: android: Create
debug_symbols driver
config: x86_64-randconfig-s021-20210720 (attached as .config)
compiler: gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-341-g8af24329-dirty
git remote add android-common
https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android12-5.10
git checkout 3fcbb15c1a91a318fb9367bee24603af24648a2d
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir
ARCH=x86_64 SHELL=/bin/bash drivers/android/ kernel/
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 >>)
> drivers/android/debug_symbols.c:50:9: sparse: sparse: cast
removes address space '__percpu' of expression
vim +/__percpu +50 drivers/android/debug_symbols.c
41
42 /*
43 * ads_per_cpu_entries array contains all the per_cpu variable address
information.
44 */
45 static const struct ads_entry ads_per_cpu_entries[ADS_DEBUG_PER_CPU_END] = {
46 #ifdef CONFIG_ARM64
47 ADS_PER_CPU_ENTRY(ADS_IRQ_STACK_PTR, irq_stack_ptr),
48 #endif
49 #ifdef CONFIG_X86
50 ADS_PER_CPU_ENTRY(ADS_IRQ_STACK_PTR, hardirq_stack_ptr),
51 #endif
52 };
53
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org