From: kernel test robot <lkp@intel.com>
To: Peter Zijlstra <peterz@infradead.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [peterz-queue:x86/ibt 9/9] arch/x86/kernel/early_printk.c:102:1: error: expected string literal in 'asm'
Date: Fri, 7 Feb 2025 03:00:30 +0800 [thread overview]
Message-ID: <202502070258.zDk7RoH7-lkp@intel.com> (raw)
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
reply other threads:[~2025-02-06 19:01 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=202502070258.zDk7RoH7-lkp@intel.com \
--to=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=peterz@infradead.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox