All of lore.kernel.org
 help / color / mirror / Atom feed
* [peterz-queue:sched/urgent 6/7] arch/powerpc/kernel/time.c:527:20: error: 'irq_work_pending' redeclared as different kind of symbol
@ 2020-06-15 16:25 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-06-15 16:25 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2527 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/urgent
head:   0602ec6c74e25dcb8a43961b00eef168fafb8e5e
commit: 2726fde5f3900552fcae2d2ac07a05ffba11a491 [6/7] irq_work: Cleanup
config: powerpc-randconfig-r021-20200615 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 2726fde5f3900552fcae2d2ac07a05ffba11a491
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All error/warnings (new ones prefixed by >>, old ones prefixed by <<):

In file included from include/asm-generic/percpu.h:7,
from arch/powerpc/include/asm/percpu.h:20,
from include/linux/percpu.h:13,
from include/linux/hrtimer.h:19,
from include/linux/sched.h:20,
from arch/powerpc/kernel/time.c:32:
>> arch/powerpc/kernel/time.c:527:20: error: 'irq_work_pending' redeclared as different kind of symbol
527 | DEFINE_PER_CPU(u8, irq_work_pending);
|                    ^~~~~~~~~~~~~~~~
include/linux/percpu-defs.h:94:44: note: in definition of macro 'DEFINE_PER_CPU_SECTION'
94 |  extern __PCPU_ATTRS(sec) __typeof__(type) name;            |                                            ^~~~
>> arch/powerpc/kernel/time.c:527:1: note: in expansion of macro 'DEFINE_PER_CPU'
527 | DEFINE_PER_CPU(u8, irq_work_pending);
| ^~~~~~~~~~~~~~
In file included from arch/powerpc/kernel/time.c:52:
include/linux/irq_work.h:39:20: note: previous definition of 'irq_work_pending' was here
39 | static inline bool irq_work_pending(struct irq_work *work)
|                    ^~~~~~~~~~~~~~~~

vim +/irq_work_pending +527 arch/powerpc/kernel/time.c

0fe1ac48bef018 Paul Mackerras 2010-04-13  526  
e360adbe29241a Peter Zijlstra 2010-10-14 @527  DEFINE_PER_CPU(u8, irq_work_pending);
0fe1ac48bef018 Paul Mackerras 2010-04-13  528  

:::::: The code at line 527 was first introduced by commit
:::::: e360adbe29241a0194e10e20595360dd7b98a2b3 irq_work: Add generic hardirq context callbacks

:::::: TO: Peter Zijlstra <a.p.zijlstra@chello.nl>
:::::: CC: Ingo Molnar <mingo@elte.hu>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 23308 bytes --]

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

only message in thread, other threads:[~2020-06-15 16:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-15 16:25 [peterz-queue:sched/urgent 6/7] arch/powerpc/kernel/time.c:527:20: error: 'irq_work_pending' redeclared as different kind of symbol kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.