tree:
https://android.googlesource.com/kernel/common android12-5.10
head: c72ca115a2d4732fe710c17d209db22834919156
commit: 3fcbb15c1a91a318fb9367bee24603af24648a2d [4030/10748] ANDROID: android: Create
debug_symbols driver
config: i386-randconfig-s032-20210814 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-348-gf0e6938b-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=i386 SHELL=/bin/bash drivers/android/
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