tree:
https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git devel
head: 0894ff5eb82865f50565a1186db5970da0aa00dd
commit: 5e6fa3cf7bef3bf4d3f0564c7c27022753a43bf2 [19/43] include condition in the
BUG_ON/WARN_ON output
config: i386-randconfig-s002-20200714 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-14) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.2-41-g14e84ffc-dirty
git checkout 5e6fa3cf7bef3bf4d3f0564c7c27022753a43bf2
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386
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/kernel/paravirt.c:198:9: sparse: sparse: too long token
expansion
arch/x86/kernel/paravirt.c:205:9: sparse: sparse: too long token
expansion
--
> arch/x86/mm/tlb.c:304:9: sparse: sparse: too long token expansion
--
> arch/x86/events/intel/ds.c:1680:9: sparse: sparse: too long token
expansion
--
> arch/x86/kernel/cpu/microcode/intel.c:801:13: sparse: sparse: too
long token expansion
--
> arch/x86/kernel/cpu/microcode/amd.c:678:9: sparse: sparse: too
long token expansion
vim +198 arch/x86/kernel/paravirt.c
8965c1c0950d45 arch/x86/kernel/paravirt_32.c Jeremy Fitzhardinge 2007-10-16 195
8965c1c0950d45 arch/x86/kernel/paravirt_32.c Jeremy Fitzhardinge 2007-10-16 196 static
inline void enter_lazy(enum paravirt_lazy_mode mode)
8965c1c0950d45 arch/x86/kernel/paravirt_32.c Jeremy Fitzhardinge 2007-10-16 197 {
c6ae41e7d469f0 arch/x86/kernel/paravirt.c Alex Shi 2012-05-11 @198
BUG_ON(this_cpu_read(paravirt_lazy_mode) != PARAVIRT_LAZY_NONE);
8965c1c0950d45 arch/x86/kernel/paravirt_32.c Jeremy Fitzhardinge 2007-10-16 199
c6ae41e7d469f0 arch/x86/kernel/paravirt.c Alex Shi 2012-05-11 200
this_cpu_write(paravirt_lazy_mode, mode);
8965c1c0950d45 arch/x86/kernel/paravirt_32.c Jeremy Fitzhardinge 2007-10-16 201 }
8965c1c0950d45 arch/x86/kernel/paravirt_32.c Jeremy Fitzhardinge 2007-10-16 202
:::::: The code at line 198 was first introduced by commit
:::::: c6ae41e7d469f00d9c92a2b2887c7235d121c009 x86: replace percpu_xxx funcs with
this_cpu_xxx
:::::: TO: Alex Shi <alex.shi(a)intel.com>
:::::: CC: Tejun Heo <tj(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org