mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [jpoimboe:lkdtm 2/3] drivers/misc/lkdtm/rodata.c:14:26: error: expected string literal in 'asm'
@ 2022-07-14 21:29 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-07-14 21:29 UTC (permalink / raw)
  To: Josh Poimboeuf; +Cc: llvm, kbuild-all, linux-kernel

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@intel.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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-14 21:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-14 21:29 [jpoimboe:lkdtm 2/3] drivers/misc/lkdtm/rodata.c:14:26: 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

all inboxes | Powered by JetHome®