[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202402201650.PKfPkpwx-lkp@intel.com>
Date: Tue, 20 Feb 2024 16:51:26 +0800
From: kernel test robot <lkp@...el.com>
To: Alexey Dobriyan <adobriyan@...il.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
x86@...nel.org, Thomas Gleixner <tglx@...utronix.de>
Subject: [tip:smp/core 3/4] kernel/cpu.c:3110:9: error: expected identifier
or '(' before '=' token
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git smp/core
head: b57b4126dd3bb69db876ae7b271307ab7e0458b9
commit: da92df490eeab7a97a3390ff32e0ae091e0dc2eb [3/4] cpu: Mark cpu_possible_mask as __ro_after_init
config: parisc-allnoconfig (https://download.01.org/0day-ci/archive/20240220/202402201650.PKfPkpwx-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240220/202402201650.PKfPkpwx-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202402201650.PKfPkpwx-lkp@intel.com/
All errors (new ones prefixed by >>):
>> kernel/cpu.c:3110:9: error: expected identifier or '(' before '=' token
3110 | = {CPU_BITS_ALL};
| ^
vim +3110 kernel/cpu.c
b3199c025d1646 Rusty Russell 2008-12-30 3107
b3199c025d1646 Rusty Russell 2008-12-30 3108 #ifdef CONFIG_INIT_ALL_POSSIBLE
da92df490eeab7 Alexey Dobriyan 2024-02-05 3109 struct cpumask __cpu_possible_mask __ro_after_init;
c4c54dd1caf139 Rasmus Villemoes 2016-01-20 @3110 = {CPU_BITS_ALL};
b3199c025d1646 Rusty Russell 2008-12-30 3111 #else
da92df490eeab7 Alexey Dobriyan 2024-02-05 3112 struct cpumask __cpu_possible_mask __ro_after_init;
b3199c025d1646 Rusty Russell 2008-12-30 3113 #endif
4b804c85dc37db Rasmus Villemoes 2016-01-20 3114 EXPORT_SYMBOL(__cpu_possible_mask);
b3199c025d1646 Rusty Russell 2008-12-30 3115
:::::: The code at line 3110 was first introduced by commit
:::::: c4c54dd1caf1393c529e7ea1f18b4342c796a49c kernel/cpu.c: change type of cpu_possible_bits and friends
:::::: TO: Rasmus Villemoes <linux@...musvillemoes.dk>
:::::: CC: Linus Torvalds <torvalds@...ux-foundation.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists