[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202207150539.2uMSuhwL-lkp@intel.com>
Date: Fri, 15 Jul 2022 05:29:20 +0800
From: kernel test robot <lkp@...el.com>
To: Josh Poimboeuf <jpoimboe@...nel.org>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org
Subject: [jpoimboe:lkdtm 2/3] drivers/misc/lkdtm/rodata.c:14:26: error:
expected string literal in 'asm'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git lkdtm
head: 91b11c81a070d7a1c75c467ccf6703b01cf78cfb
commit: 26fe5d8405b16b3153bdb867dda090256a561b80 [2/3] lkdtm: Disable return thunks in rodata.c
config: hexagon-randconfig-r024-20220714 (https://download.01.org/0day-ci/archive/20220715/202207150539.2uMSuhwL-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 5e61b9c556267086ef9b743a0b57df302eef831b)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git/commit/?id=26fe5d8405b16b3153bdb867dda090256a561b80
git remote add jpoimboe https://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git
git fetch --no-tags jpoimboe lkdtm
git checkout 26fe5d8405b16b3153bdb867dda090256a561b80
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/misc/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
>> drivers/misc/lkdtm/rodata.c:14:26: error: expected string literal in 'asm'
asm(ANNOTATE_UNRET_SAFE);
^
1 error generated.
vim +/asm +14 drivers/misc/lkdtm/rodata.c
8
9 void noinstr lkdtm_rodata_do_nothing(void)
10 {
11 /* Does nothing. We just want an architecture agnostic "return". */
12
13 if (IS_ENABLED(CONFIG_OBJTOOL))
> 14 asm(ANNOTATE_UNRET_SAFE);
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists