From: Christophe Leroy <christophe.leroy@csgroup.eu> To: kernel test robot <lkp@intel.com>, Nathan Chancellor <nathan@kernel.org>, Nick Desaulniers <ndesaulniers@google.com> Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com, linux-kernel@vger.kernel.org, Michael Ellerman <mpe@ellerman.id.au> Subject: Re: arch/powerpc/kernel/optprobes.c:34:1: error: unused function 'is_kprobe_ppc_optinsn_slot' Date: Tue, 11 May 2021 18:47:10 +0200 [thread overview] Message-ID: <48747467-cb93-c66d-4cf9-097be0568488@csgroup.eu> (raw) In-Reply-To: <202105120059.uTLH58Lm-lkp@intel.com> Hi All, Le 11/05/2021 à 18:30, kernel test robot a écrit : > Hi Christophe, > > First bad commit (maybe != root cause): > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: 1140ab592e2ebf8153d2b322604031a8868ce7a5 > commit: eacf4c0202654adfa94bbb17b5c5c77c0be14af8 powerpc: Enable OPTPROBES on PPC32 > date: 3 weeks ago > config: powerpc-randconfig-r033-20210511 (attached as .config) > compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project a0fed635fe1701470062495a6ffee1c608f3f1bc) A clang issue ? > 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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=eacf4c0202654adfa94bbb17b5c5c77c0be14af8 > git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > git fetch --no-tags linus master > git checkout eacf4c0202654adfa94bbb17b5c5c77c0be14af8 > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 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) \ That's a 'static inline', shouldn't generate an 'unused function' warning. > ^ > <scratch space>:16: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@lists.01.org >
WARNING: multiple messages have this Message-ID (diff)
From: Christophe Leroy <christophe.leroy@csgroup.eu> To: kbuild-all@lists.01.org Subject: Re: arch/powerpc/kernel/optprobes.c:34:1: error: unused function 'is_kprobe_ppc_optinsn_slot' Date: Tue, 11 May 2021 18:47:10 +0200 [thread overview] Message-ID: <48747467-cb93-c66d-4cf9-097be0568488@csgroup.eu> (raw) In-Reply-To: <202105120059.uTLH58Lm-lkp@intel.com> [-- Attachment #1: Type: text/plain, Size: 3772 bytes --] Hi All, Le 11/05/2021 à 18:30, kernel test robot a écrit : > Hi Christophe, > > First bad commit (maybe != root cause): > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: 1140ab592e2ebf8153d2b322604031a8868ce7a5 > commit: eacf4c0202654adfa94bbb17b5c5c77c0be14af8 powerpc: Enable OPTPROBES on PPC32 > date: 3 weeks ago > config: powerpc-randconfig-r033-20210511 (attached as .config) > compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project a0fed635fe1701470062495a6ffee1c608f3f1bc) A clang issue ? > 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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=eacf4c0202654adfa94bbb17b5c5c77c0be14af8 > git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > git fetch --no-tags linus master > git checkout eacf4c0202654adfa94bbb17b5c5c77c0be14af8 > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 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) \ That's a 'static inline', shouldn't generate an 'unused function' warning. > ^ > <scratch space>:16: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 >
next prev parent reply other threads:[~2021-05-11 16:47 UTC|newest] Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-05-11 16:30 arch/powerpc/kernel/optprobes.c:34:1: error: unused function 'is_kprobe_ppc_optinsn_slot' kernel test robot 2021-05-11 16:30 ` kernel test robot 2021-05-11 16:47 ` Christophe Leroy [this message] 2021-05-11 16:47 ` Christophe Leroy 2021-05-11 18:46 ` Nathan Chancellor 2021-05-11 18:46 ` Nathan Chancellor 2021-05-12 9:36 ` Christophe Leroy 2021-05-12 9:36 ` Christophe Leroy 2021-05-12 9:52 ` Christophe Leroy 2021-05-12 9:52 ` Christophe Leroy 2021-05-12 12:50 ` Masami Hiramatsu 2021-05-12 12:50 ` Masami Hiramatsu 2021-05-12 15:06 ` Masami Hiramatsu 2021-05-12 15:06 ` Masami Hiramatsu 2021-05-12 15:12 ` Christophe Leroy 2021-05-12 15:12 ` Christophe Leroy 2021-05-12 23:42 ` Masami Hiramatsu 2021-05-12 23:42 ` Masami Hiramatsu -- strict thread matches above, loose matches on Subject: below -- 2021-04-29 15:33 kernel test robot 2021-04-29 15:33 ` kernel test robot 2021-04-20 7:43 kernel test robot 2021-04-20 7:43 ` kernel test robot 2021-03-23 14:06 kernel test robot 2021-03-23 14:06 ` kernel test robot 2021-03-19 17:00 kernel test robot 2021-03-19 17:00 ` kernel test robot 2021-03-04 20:34 kernel test robot
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=48747467-cb93-c66d-4cf9-097be0568488@csgroup.eu \ --to=christophe.leroy@csgroup.eu \ --cc=clang-built-linux@googlegroups.com \ --cc=kbuild-all@lists.01.org \ --cc=linux-kernel@vger.kernel.org \ --cc=lkp@intel.com \ --cc=mpe@ellerman.id.au \ --cc=nathan@kernel.org \ --cc=ndesaulniers@google.com \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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.