* [peterz-queue:x86/ibt 4/9] include/linux/objtool.h:150:82: error: expected string literal before ')' token
@ 2025-02-06 18:07 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-02-06 18:07 UTC (permalink / raw)
To: Peter Zijlstra; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/ibt
head: 57750f0464beab3927ad570e0c1b5e78c91dd1b6
commit: 924aacc059c21eca82763d733be6cce475b5d14d [4/9] x86/boot: Mark start_secondary() with __noendbr
config: i386-buildonly-randconfig-003-20250207 (https://download.01.org/0day-ci/archive/20250207/202502070103.TiolOJ8S-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250207/202502070103.TiolOJ8S-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/202502070103.TiolOJ8S-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from arch/x86/include/asm/alternative.h:7,
from arch/x86/include/asm/barrier.h:5,
from include/linux/list.h:11,
from include/linux/smp.h:12,
from arch/x86/kernel/smpboot.c:43:
>> include/linux/objtool.h:150:82: error: expected string literal before ')' token
150 | #define ANNOTATE_NOENDBR_SYM(sym) asm(__ASM_ANNOTATE(sym, ANNOTYPE_NOENDBR))
| ^
arch/x86/kernel/smpboot.c:317:1: note: in expansion of macro 'ANNOTATE_NOENDBR_SYM'
317 | ANNOTATE_NOENDBR_SYM(start_secondary);
| ^~~~~~~~~~~~~~~~~~~~
vim +150 include/linux/objtool.h
143
144 #ifndef __ASSEMBLY__
145 /*
146 * Annotate away the various 'relocation to !ENDBR` complaints; knowing that
147 * these relocations will never be used for indirect calls.
148 */
149 #define ANNOTATE_NOENDBR ASM_ANNOTATE(ANNOTYPE_NOENDBR)
> 150 #define ANNOTATE_NOENDBR_SYM(sym) asm(__ASM_ANNOTATE(sym, ANNOTYPE_NOENDBR))
151
--
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:[~2025-02-06 18:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-06 18:07 [peterz-queue:x86/ibt 4/9] include/linux/objtool.h:150:82: error: expected string literal 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.