* [peterz-queue:x86/ibt 9/9] arch/x86/kernel/early_printk.c:102:1: error: expected string literal in 'asm'
@ 2025-02-06 19:00 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-02-06 19:00 UTC (permalink / raw)
To: Peter Zijlstra; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/ibt
head: 57750f0464beab3927ad570e0c1b5e78c91dd1b6
commit: 57750f0464beab3927ad570e0c1b5e78c91dd1b6 [9/9] x86/early_printk: Harden early_serial
config: i386-buildonly-randconfig-005-20250207 (https://download.01.org/0day-ci/archive/20250207/202502070258.zDk7RoH7-lkp@intel.com/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250207/202502070258.zDk7RoH7-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/202502070258.zDk7RoH7-lkp@intel.com/
All errors (new ones prefixed by >>):
>> arch/x86/kernel/early_printk.c:102:1: error: expected string literal in 'asm'
102 | ANNOTATE_NOENDBR_SYM(io_serial_in);
| ^
include/linux/objtool.h:150:76: note: expanded from macro 'ANNOTATE_NOENDBR_SYM'
150 | #define ANNOTATE_NOENDBR_SYM(sym) asm(__ASM_ANNOTATE(sym, ANNOTYPE_NOENDBR))
| ^
arch/x86/kernel/early_printk.c:108:1: error: expected string literal in 'asm'
108 | ANNOTATE_NOENDBR_SYM(io_serial_out);
| ^
include/linux/objtool.h:150:76: note: expanded from macro 'ANNOTATE_NOENDBR_SYM'
150 | #define ANNOTATE_NOENDBR_SYM(sym) asm(__ASM_ANNOTATE(sym, ANNOTYPE_NOENDBR))
| ^
arch/x86/kernel/early_printk.c:200:1: error: expected string literal in 'asm'
200 | ANNOTATE_NOENDBR_SYM(mem32_serial_out);
| ^
include/linux/objtool.h:150:76: note: expanded from macro 'ANNOTATE_NOENDBR_SYM'
150 | #define ANNOTATE_NOENDBR_SYM(sym) asm(__ASM_ANNOTATE(sym, ANNOTYPE_NOENDBR))
| ^
arch/x86/kernel/early_printk.c:208:1: error: expected string literal in 'asm'
208 | ANNOTATE_NOENDBR_SYM(mem32_serial_in);
| ^
include/linux/objtool.h:150:76: note: expanded from macro 'ANNOTATE_NOENDBR_SYM'
150 | #define ANNOTATE_NOENDBR_SYM(sym) asm(__ASM_ANNOTATE(sym, ANNOTYPE_NOENDBR))
| ^
4 errors generated.
vim +/asm +102 arch/x86/kernel/early_printk.c
97
98 static __noendbr unsigned int io_serial_in(unsigned long addr, int offset)
99 {
100 return inb(addr + offset);
101 }
> 102 ANNOTATE_NOENDBR_SYM(io_serial_in);
103
--
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 19:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-06 19:00 [peterz-queue:x86/ibt 9/9] arch/x86/kernel/early_printk.c:102:1: error: expected string literal in 'asm' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox