All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Josh Poimboeuf <jpoimboe@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [jpoimboe:objtool-diff 8/8] arch/x86/include/asm/smp.h:83:2: error: expected ')'
Date: Tue, 16 Jul 2024 20:44:58 +0800	[thread overview]
Message-ID: <202407162049.EEInf5SQ-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git objtool-diff
head:   bc3cdfe89249cdc982760e0fb48820b399935d43
commit: bc3cdfe89249cdc982760e0fb48820b399935d43 [8/8] working with klp-test.patch
config: i386-buildonly-randconfig-006-20240716 (https://download.01.org/0day-ci/archive/20240716/202407162049.EEInf5SQ-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240716/202407162049.EEInf5SQ-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/202407162049.EEInf5SQ-lkp@intel.com/

All errors (new ones prefixed by >>):

   scripts/genksyms/parse.y: warning: 9 shift/reduce conflicts [-Wconflicts-sr]
   scripts/genksyms/parse.y: warning: 5 reduce/reduce conflicts [-Wconflicts-rr]
   scripts/genksyms/parse.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
   In file included from arch/x86/kernel/asm-offsets.c:9:
   In file included from include/linux/crypto.h:15:
   In file included from include/linux/completion.h:12:
   In file included from include/linux/swait.h:7:
   In file included from include/linux/spinlock.h:59:
   In file included from include/linux/irqflags.h:18:
   In file included from arch/x86/include/asm/irqflags.h:9:
   In file included from arch/x86/include/asm/nospec-branch.h:6:
   In file included from include/linux/static_key.h:1:
   In file included from include/linux/jump_label.h:112:
   arch/x86/include/asm/jump_label.h:44:3: error: expected ':'
      44 |                 JUMP_TABLE_ENTRY
         |                 ^
   arch/x86/include/asm/jump_label.h:18:2: note: expanded from macro 'JUMP_TABLE_ENTRY'
      18 |         FAKE_SYMBOL(__jump_table_, 16)                  \
         |         ^
   arch/x86/include/asm/jump_label.h:58:3: error: expected ':'
      58 |                 JUMP_TABLE_ENTRY
         |                 ^
   arch/x86/include/asm/jump_label.h:18:2: note: expanded from macro 'JUMP_TABLE_ENTRY'
      18 |         FAKE_SYMBOL(__jump_table_, 16)                  \
         |         ^
   In file included from arch/x86/kernel/asm-offsets.c:9:
   In file included from include/linux/crypto.h:15:
   In file included from include/linux/completion.h:12:
   In file included from include/linux/swait.h:7:
   In file included from include/linux/spinlock.h:60:
   include/linux/thread_info.h:249:6: error: expected ')'
     249 |         if (WARN_ON_ONCE(bytes > INT_MAX))
         |             ^
   include/asm-generic/bug.h:113:3: note: expanded from macro 'WARN_ON_ONCE'
     113 |                 __WARN_FLAGS(BUGFLAG_ONCE |                     \
         |                 ^
   arch/x86/include/asm/bug.h:85:2: note: expanded from macro '__WARN_FLAGS'
      85 |         _BUG_FLAGS(ASM_UD2, __flags, ASM_REACHABLE);            \
         |         ^
   arch/x86/include/asm/bug.h:30:8: note: expanded from macro '_BUG_FLAGS'
      30 |                      FAKE_SYMBOL(__bug_table_, 12)                      \
         |                      ^
   In file included from arch/x86/kernel/asm-offsets.c:9:
   In file included from include/linux/crypto.h:15:
   In file included from include/linux/completion.h:12:
   In file included from include/linux/swait.h:7:
   In file included from include/linux/spinlock.h:63:
   In file included from include/linux/lockdep.h:14:
   In file included from include/linux/smp.h:119:
>> arch/x86/include/asm/smp.h:83:2: error: expected ')'
      83 |         BUG();
         |         ^
   arch/x86/include/asm/bug.h:71:2: note: expanded from macro 'BUG'
      71 |         _BUG_FLAGS(ASM_UD2, 0, "");                             \
         |         ^
   arch/x86/include/asm/bug.h:30:8: note: expanded from macro '_BUG_FLAGS'
      30 |                      FAKE_SYMBOL(__bug_table_, 12)                      \
         |                      ^
   In file included from arch/x86/kernel/asm-offsets.c:9:
   In file included from include/linux/crypto.h:17:
   In file included from include/linux/slab.h:16:
   In file included from include/linux/gfp.h:7:
   In file included from include/linux/mmzone.h:22:
   In file included from include/linux/mm_types.h:11:
   In file included from include/linux/rbtree.h:24:
   include/linux/rcupdate.h:1085:2: error: expected ')'
    1085 |         WARN_ON_ONCE(func != (rcu_callback_t)~0L);
         |         ^
   include/asm-generic/bug.h:113:3: note: expanded from macro 'WARN_ON_ONCE'
     113 |                 __WARN_FLAGS(BUGFLAG_ONCE |                     \
         |                 ^
   arch/x86/include/asm/bug.h:85:2: note: expanded from macro '__WARN_FLAGS'
      85 |         _BUG_FLAGS(ASM_UD2, __flags, ASM_REACHABLE);            \
         |         ^
   arch/x86/include/asm/bug.h:30:8: note: expanded from macro '_BUG_FLAGS'
      30 |                      FAKE_SYMBOL(__bug_table_, 12)                      \
         |                      ^
   In file included from arch/x86/kernel/asm-offsets.c:9:
   In file included from include/linux/crypto.h:17:
   In file included from include/linux/slab.h:16:
   In file included from include/linux/gfp.h:7:
   In file included from include/linux/mmzone.h:22:
   In file included from include/linux/mm_types.h:12:
   include/linux/maple_tree.h:719:2: error: expected ')'
     719 |         MAS_WARN_ON(mas, mas_is_active(mas) &&
         |         ^
   include/linux/maple_tree.h:701:34: note: expanded from macro 'MAS_WARN_ON'
     701 | #define MAS_WARN_ON(__mas, __x)         WARN_ON(__x)
         |                                         ^
   include/asm-generic/bug.h:125:3: note: expanded from macro 'WARN_ON'
     125 |                 __WARN();                                               \
         |                 ^
   include/asm-generic/bug.h:103:19: note: expanded from macro '__WARN'
     103 | #define __WARN()                __WARN_FLAGS(BUGFLAG_TAINT(TAINT_WARN))
         |                                 ^
   arch/x86/include/asm/bug.h:85:2: note: expanded from macro '__WARN_FLAGS'
      85 |         _BUG_FLAGS(ASM_UD2, __flags, ASM_REACHABLE);            \
         |         ^
   arch/x86/include/asm/bug.h:30:8: note: expanded from macro '_BUG_FLAGS'
      30 |                      FAKE_SYMBOL(__bug_table_, 12)                      \
         |                      ^
   In file included from arch/x86/kernel/asm-offsets.c:9:
   In file included from include/linux/crypto.h:17:
   In file included from include/linux/slab.h:16:
   In file included from include/linux/gfp.h:7:
   In file included from include/linux/mmzone.h:22:
   In file included from include/linux/mm_types.h:12:
   include/linux/maple_tree.h:811:3: error: expected ')'
     811 |                 WARN_ON(!mt_lock_is_held(mt));
         |                 ^
   include/asm-generic/bug.h:125:3: note: expanded from macro 'WARN_ON'
     125 |                 __WARN();                                               \
         |                 ^
   include/asm-generic/bug.h:103:19: note: expanded from macro '__WARN'
     103 | #define __WARN()                __WARN_FLAGS(BUGFLAG_TAINT(TAINT_WARN))
         |                                 ^
   arch/x86/include/asm/bug.h:85:2: note: expanded from macro '__WARN_FLAGS'
      85 |         _BUG_FLAGS(ASM_UD2, __flags, ASM_REACHABLE);            \
         |         ^
   arch/x86/include/asm/bug.h:30:8: note: expanded from macro '_BUG_FLAGS'
      30 |                      FAKE_SYMBOL(__bug_table_, 12)                      \
         |                      ^
   In file included from arch/x86/kernel/asm-offsets.c:9:
   In file included from include/linux/crypto.h:17:
   In file included from include/linux/slab.h:16:
   In file included from include/linux/gfp.h:7:
   In file included from include/linux/mmzone.h:22:
   In file included from include/linux/mm_types.h:12:
   include/linux/maple_tree.h:830:3: error: expected ')'
     830 |                 WARN_ON(!mt_lock_is_held(mt));
         |                 ^
   include/asm-generic/bug.h:125:3: note: expanded from macro 'WARN_ON'
     125 |                 __WARN();                                               \
         |                 ^
   include/asm-generic/bug.h:103:19: note: expanded from macro '__WARN'
     103 | #define __WARN()                __WARN_FLAGS(BUGFLAG_TAINT(TAINT_WARN))
         |                                 ^
   arch/x86/include/asm/bug.h:85:2: note: expanded from macro '__WARN_FLAGS'
      85 |         _BUG_FLAGS(ASM_UD2, __flags, ASM_REACHABLE);            \
         |         ^
   arch/x86/include/asm/bug.h:30:8: note: expanded from macro '_BUG_FLAGS'
      30 |                      FAKE_SYMBOL(__bug_table_, 12)                      \
         |                      ^
   In file included from arch/x86/kernel/asm-offsets.c:9:
   In file included from include/linux/crypto.h:17:
   In file included from include/linux/slab.h:16:
   In file included from include/linux/gfp.h:7:
   In file included from include/linux/mmzone.h:22:
   In file included from include/linux/mm_types.h:13:
   include/linux/rwsem.h:80:2: error: expected ')'


vim +83 arch/x86/include/asm/smp.h

93be71b672f167 include/asm-x86/smp.h      Alex Nixon     2008-08-22  79  
eab89405b6b599 arch/x86/include/asm/smp.h Josh Poimboeuf 2023-02-13  80  static inline void __noreturn play_dead(void)
93be71b672f167 include/asm-x86/smp.h      Alex Nixon     2008-08-22  81  {
93be71b672f167 include/asm-x86/smp.h      Alex Nixon     2008-08-22  82  	smp_ops.play_dead();
a02f50b573b3c9 arch/x86/include/asm/smp.h Josh Poimboeuf 2023-02-13 @83  	BUG();
93be71b672f167 include/asm-x86/smp.h      Alex Nixon     2008-08-22  84  }
93be71b672f167 include/asm-x86/smp.h      Alex Nixon     2008-08-22  85  

:::::: The code at line 83 was first introduced by commit
:::::: a02f50b573b3c90a3633a5ab67435fe4c0de144d x86/cpu: Make sure play_dead() doesn't return

:::::: TO: Josh Poimboeuf <jpoimboe@kernel.org>
:::::: CC: Josh Poimboeuf <jpoimboe@kernel.org>

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

                 reply	other threads:[~2024-07-16 12:46 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=202407162049.EEInf5SQ-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=jpoimboe@kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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 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.