mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [tip:smp/core 3/4] kernel/cpu.c:3110:9: error: expected identifier or '(' before '=' token
@ 2024-02-20  8:51 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-02-20  8:51 UTC (permalink / raw)
  To: Alexey Dobriyan; +Cc: oe-kbuild-all, linux-kernel, x86, Thomas Gleixner

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@intel.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@rasmusvillemoes.dk>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-20  8:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-20  8:51 [tip:smp/core 3/4] kernel/cpu.c:3110:9: error: expected identifier or '(' before '=' token kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome