All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 11069/12711] include/linux/irqflags.h:40:41: error: expected expression before ')' token
@ 2020-07-30  3:00 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-07-30  3:00 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   04b4571786305a76ad81757bbec78eb16a5de582
commit: f87032aec41e0b00ae5fa9103eb8e7b2d1f8416b [11069/12711] Merge branch 'locking/nmi' into x86/entry
config: i386-randconfig-a012-20200729 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-14) 9.3.0
reproduce (this is a W=1 build):
        git checkout f87032aec41e0b00ae5fa9103eb8e7b2d1f8416b
        # save the attached .config to linux build tree
        make W=1 ARCH=i386 

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

Note: the linux-next/master HEAD 04b4571786305a76ad81757bbec78eb16a5de582 builds fine.
      It may have been fixed somewhere.

All errors (new ones prefixed by >>):

   arch/x86/entry/common.c:90:24: warning: no previous prototype for 'do_int80_syscall_32' [-Wmissing-prototypes]
      90 | __visible noinstr void do_int80_syscall_32(struct pt_regs *regs)
         |                        ^~~~~~~~~~~~~~~~~~~
   arch/x86/entry/common.c:132:24: warning: no previous prototype for 'do_fast_syscall_32' [-Wmissing-prototypes]
     132 | __visible noinstr long do_fast_syscall_32(struct pt_regs *regs)
         |                        ^~~~~~~~~~~~~~~~~~
   arch/x86/entry/common.c:184:24: warning: no previous prototype for 'do_SYSENTER_32' [-Wmissing-prototypes]
     184 | __visible noinstr long do_SYSENTER_32(struct pt_regs *regs)
         |                        ^~~~~~~~~~~~~~
   In file included from include/linux/rcupdate.h:26,
                    from include/linux/rculist.h:11,
                    from include/linux/pid.h:5,
                    from include/linux/sched.h:14,
                    from arch/x86/entry/common.c:11:
   arch/x86/entry/common.c: In function 'idtentry_enter_nmi':
>> include/linux/irqflags.h:40:41: error: expected expression before ')' token
      40 | # define lockdep_hardirqs_enabled(p) ((p)->hardirqs_enabled)
         |                                         ^
   arch/x86/entry/common.c:203:19: note: in expansion of macro 'lockdep_hardirqs_enabled'
     203 |  bool irq_state = lockdep_hardirqs_enabled();
         |                   ^~~~~~~~~~~~~~~~~~~~~~~~

vim +40 include/linux/irqflags.h

c3bc8fd637a9623 Joel Fernandes (Google    2018-07-30  32) 
c3bc8fd637a9623 Joel Fernandes (Google    2018-07-30  33) #ifdef CONFIG_TRACE_IRQFLAGS
0995a5dfbe49bad Thomas Gleixner           2020-03-04  34    extern void trace_hardirqs_on_prepare(void);
bf2b30084400720 Peter Zijlstra            2020-05-29  35    extern void trace_hardirqs_off_finish(void);
81d68a96a398448 Steven Rostedt            2008-05-12  36    extern void trace_hardirqs_on(void);
81d68a96a398448 Steven Rostedt            2008-05-12  37    extern void trace_hardirqs_off(void);
ef996916e78e03d Peter Zijlstra            2020-03-20  38  # define lockdep_hardirq_context(p)	((p)->hardirq_context)
ef996916e78e03d Peter Zijlstra            2020-03-20  39  # define lockdep_softirq_context(p)	((p)->softirq_context)
ef996916e78e03d Peter Zijlstra            2020-03-20 @40  # define lockdep_hardirqs_enabled(p)	((p)->hardirqs_enabled)
ef996916e78e03d Peter Zijlstra            2020-03-20  41  # define lockdep_softirqs_enabled(p)	((p)->softirqs_enabled)
2502ec37a7b228b Thomas Gleixner           2020-03-20  42  # define lockdep_hardirq_enter()		\
b09be676e0ff25b Byungchul Park            2017-08-07  43  do {						\
de8f5e4f2dc1f03 Peter Zijlstra            2020-03-21  44  	if (!current->hardirq_context++)	\
de8f5e4f2dc1f03 Peter Zijlstra            2020-03-21  45  		current->hardirq_threaded = 0;	\
de8f5e4f2dc1f03 Peter Zijlstra            2020-03-21  46  } while (0)
d5f744f9a2ac9ca Linus Torvalds            2020-03-30  47  # define lockdep_hardirq_threaded()		\
de8f5e4f2dc1f03 Peter Zijlstra            2020-03-21  48  do {						\
de8f5e4f2dc1f03 Peter Zijlstra            2020-03-21  49  	current->hardirq_threaded = 1;		\
b09be676e0ff25b Byungchul Park            2017-08-07  50  } while (0)
2502ec37a7b228b Thomas Gleixner           2020-03-20  51  # define lockdep_hardirq_exit()			\
b09be676e0ff25b Byungchul Park            2017-08-07  52  do {						\
b09be676e0ff25b Byungchul Park            2017-08-07  53  	current->hardirq_context--;		\
b09be676e0ff25b Byungchul Park            2017-08-07  54  } while (0)
b09be676e0ff25b Byungchul Park            2017-08-07  55  # define lockdep_softirq_enter()		\
b09be676e0ff25b Byungchul Park            2017-08-07  56  do {						\
b09be676e0ff25b Byungchul Park            2017-08-07  57  	current->softirq_context++;		\
b09be676e0ff25b Byungchul Park            2017-08-07  58  } while (0)
b09be676e0ff25b Byungchul Park            2017-08-07  59  # define lockdep_softirq_exit()			\
b09be676e0ff25b Byungchul Park            2017-08-07  60  do {						\
b09be676e0ff25b Byungchul Park            2017-08-07  61  	current->softirq_context--;		\
b09be676e0ff25b Byungchul Park            2017-08-07  62  } while (0)
40db173965c05a1 Sebastian Andrzej Siewior 2020-03-21  63  

:::::: The code at line 40 was first introduced by commit
:::::: ef996916e78e03d25e56c2d372e5e21fdb471882 lockdep: Rename trace_{hard,soft}{irq_context,irqs_enabled}()

:::::: TO: Peter Zijlstra <peterz@infradead.org>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>

---
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: 31707 bytes --]

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

only message in thread, other threads:[~2020-07-30  3:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-30  3:00 [linux-next:master 11069/12711] include/linux/irqflags.h:40:41: error: expected expression before ')' token 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.