All of lore.kernel.org
 help / color / mirror / Atom feed
* [linuxppc:next-test 15/120] arch/powerpc/kernel/optprobes.c:34:1: error: unused function 'is_kprobe_ppc_optinsn_slot'
@ 2021-02-03  4:26 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-02-03  4:26 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 3309 bytes --]

tree:   https://github.com/linuxppc/linux next-test
head:   0477eb45ecbc8834afcfb7eae7f77aa9be9b6da3
commit: bb21e1b6c5352d62d866e9236ed427f632cd537b [15/120] powerpc/optprobes: Make patch_imm64_load_insns() static
config: powerpc-randconfig-r035-20210202 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 275c6af7d7f1ed63a03d05b4484413e447133269)
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
        # install powerpc cross compiling tool for clang build
        # apt-get install binutils-powerpc-linux-gnu
        # https://github.com/linuxppc/linux/commit/bb21e1b6c5352d62d866e9236ed427f632cd537b
        git remote add linuxppc https://github.com/linuxppc/linux
        git fetch --no-tags linuxppc next-test
        git checkout bb21e1b6c5352d62d866e9236ed427f632cd537b
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> arch/powerpc/kernel/optprobes.c:34:1: error: unused function 'is_kprobe_ppc_optinsn_slot' [-Werror,-Wunused-function]
   DEFINE_INSN_CACHE_OPS(ppc_optinsn);
   ^
   include/linux/kprobes.h:306:20: note: expanded from macro 'DEFINE_INSN_CACHE_OPS'
   static inline bool is_kprobe_##__name##_slot(unsigned long addr)        \
                      ^
   <scratch space>:60:1: note: expanded from here
   is_kprobe_ppc_optinsn_slot
   ^
   1 error generated.


vim +/is_kprobe_ppc_optinsn_slot +34 arch/powerpc/kernel/optprobes.c

51c9c084399352 Anju T 2017-02-08  20  
51c9c084399352 Anju T 2017-02-08  21  #define TMPL_CALL_HDLR_IDX	\
51c9c084399352 Anju T 2017-02-08  22  	(optprobe_template_call_handler - optprobe_template_entry)
51c9c084399352 Anju T 2017-02-08  23  #define TMPL_EMULATE_IDX	\
51c9c084399352 Anju T 2017-02-08  24  	(optprobe_template_call_emulate - optprobe_template_entry)
51c9c084399352 Anju T 2017-02-08  25  #define TMPL_RET_IDX		\
51c9c084399352 Anju T 2017-02-08  26  	(optprobe_template_ret - optprobe_template_entry)
51c9c084399352 Anju T 2017-02-08  27  #define TMPL_OP_IDX		\
51c9c084399352 Anju T 2017-02-08  28  	(optprobe_template_op_address - optprobe_template_entry)
51c9c084399352 Anju T 2017-02-08  29  #define TMPL_INSN_IDX		\
51c9c084399352 Anju T 2017-02-08  30  	(optprobe_template_insn - optprobe_template_entry)
51c9c084399352 Anju T 2017-02-08  31  #define TMPL_END_IDX		\
51c9c084399352 Anju T 2017-02-08  32  	(optprobe_template_end - optprobe_template_entry)
51c9c084399352 Anju T 2017-02-08  33  
51c9c084399352 Anju T 2017-02-08 @34  DEFINE_INSN_CACHE_OPS(ppc_optinsn);
51c9c084399352 Anju T 2017-02-08  35  

:::::: The code at line 34 was first introduced by commit
:::::: 51c9c0843993528bffc920c54c2121d9e6f8b090 powerpc/kprobes: Implement Optprobes

:::::: TO: Anju T <anju@linux.vnet.ibm.com>
:::::: CC: Michael Ellerman <mpe@ellerman.id.au>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 32478 bytes --]

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

only message in thread, other threads:[~2021-02-03  4:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-03  4:26 [linuxppc:next-test 15/120] arch/powerpc/kernel/optprobes.c:34:1: error: unused function 'is_kprobe_ppc_optinsn_slot' 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.