mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Alexey Dobriyan <adobriyan@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
	x86@kernel.org, Thomas Gleixner <tglx@linutronix.de>
Subject: [tip:smp/core 3/4] kernel/cpu.c:3110:9: error: expected identifier or '(' before '=' token
Date: Tue, 20 Feb 2024 16:51:26 +0800	[thread overview]
Message-ID: <202402201650.PKfPkpwx-lkp@intel.com> (raw)

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

                 reply	other threads:[~2024-02-20  8:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202402201650.PKfPkpwx-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=adobriyan@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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