From: kernel test robot <lkp@intel.com> To: "Gustavo A. R. Silva" <gustavoars@kernel.org> Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org Subject: Re: [PATCH][next] ftrace: Fix -Wcast-function-type warnings on powerpc64 Date: Sat, 6 Nov 2021 02:49:26 +0800 [thread overview] Message-ID: <202111060208.8EnFwQVJ-lkp@intel.com> (raw) In-Reply-To: <20211005053922.GA702049@embeddedor> [-- Attachment #1: Type: text/plain, Size: 3527 bytes --] Hi "Gustavo, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/perf/core] [also build test ERROR on linux/master v5.15] [cannot apply to rostedt-trace/for-next linus/master next-20211105] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Gustavo-A-R-Silva/ftrace-Fix-Wcast-function-type-warnings-on-powerpc64/20211005-133606 base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 41100833cdd8b1bef363b81a6482d74711c116ad config: arm-randconfig-r012-20211004 (attached as .config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c0039de2953d15815448b4b3c3bafb45607781e0) 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 arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi # https://github.com/0day-ci/linux/commit/9c10c0713155955bf1170eea3904cfcfb6d2d832 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Gustavo-A-R-Silva/ftrace-Fix-Wcast-function-type-warnings-on-powerpc64/20211005-133606 git checkout 9c10c0713155955bf1170eea3904cfcfb6d2d832 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm 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 >>): >> kernel/trace/ftrace.c:6925:12: error: incompatible function pointer types initializing 'ftrace_func_t' (aka 'void (*)(unsigned long, unsigned long)') with an expression of type 'void (unsigned long, unsigned long, struct ftrace_ops *, struct ftrace_regs *)' [-Werror,-Wincompatible-function-pointer-types] .func = ftrace_stub, ^~~~~~~~~~~ 1 error generated. -- >> kernel/trace/trace_irqsoff.c:567:28: error: incompatible function pointer types passing 'void (unsigned long, unsigned long, struct ftrace_ops *, struct ftrace_regs *)' to parameter of type 'ftrace_func_t' (aka 'void (*)(unsigned long, unsigned long)') [-Werror,-Wincompatible-function-pointer-types] ftrace_init_array_ops(tr, irqsoff_tracer_call); ^~~~~~~~~~~~~~~~~~~ kernel/trace/trace.h:981:66: note: passing argument to parameter 'func' here void ftrace_init_array_ops(struct trace_array *tr, ftrace_func_t func); ^ 1 error generated. vim +6925 kernel/trace/ftrace.c 0b6e4d56bf7186 Frederic Weisbecker 2008-10-28 6923 3306fc4aff464f Steven Rostedt (VMware 2018-11-15 6924) struct ftrace_ops global_ops = { bd69c30b1d0803 Steven Rostedt 2011-05-03 @6925 .func = ftrace_stub, a25d036d939a30 Steven Rostedt (VMware 2020-11-05 6926) .flags = FTRACE_OPS_FL_INITIALIZED | e3eea1404f5ff7 Steven Rostedt (Red Hat 2015-07-24 6927) FTRACE_OPS_FL_PID, bd69c30b1d0803 Steven Rostedt 2011-05-03 6928 }; bd69c30b1d0803 Steven Rostedt 2011-05-03 6929 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [-- Attachment #2: .config.gz --] [-- Type: application/gzip, Size: 33236 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com> To: kbuild-all@lists.01.org Subject: Re: [PATCH][next] ftrace: Fix -Wcast-function-type warnings on powerpc64 Date: Sat, 06 Nov 2021 02:49:26 +0800 [thread overview] Message-ID: <202111060208.8EnFwQVJ-lkp@intel.com> (raw) In-Reply-To: <20211005053922.GA702049@embeddedor> [-- Attachment #1: Type: text/plain, Size: 3588 bytes --] Hi "Gustavo, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/perf/core] [also build test ERROR on linux/master v5.15] [cannot apply to rostedt-trace/for-next linus/master next-20211105] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Gustavo-A-R-Silva/ftrace-Fix-Wcast-function-type-warnings-on-powerpc64/20211005-133606 base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 41100833cdd8b1bef363b81a6482d74711c116ad config: arm-randconfig-r012-20211004 (attached as .config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c0039de2953d15815448b4b3c3bafb45607781e0) 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 arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi # https://github.com/0day-ci/linux/commit/9c10c0713155955bf1170eea3904cfcfb6d2d832 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Gustavo-A-R-Silva/ftrace-Fix-Wcast-function-type-warnings-on-powerpc64/20211005-133606 git checkout 9c10c0713155955bf1170eea3904cfcfb6d2d832 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm 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 >>): >> kernel/trace/ftrace.c:6925:12: error: incompatible function pointer types initializing 'ftrace_func_t' (aka 'void (*)(unsigned long, unsigned long)') with an expression of type 'void (unsigned long, unsigned long, struct ftrace_ops *, struct ftrace_regs *)' [-Werror,-Wincompatible-function-pointer-types] .func = ftrace_stub, ^~~~~~~~~~~ 1 error generated. -- >> kernel/trace/trace_irqsoff.c:567:28: error: incompatible function pointer types passing 'void (unsigned long, unsigned long, struct ftrace_ops *, struct ftrace_regs *)' to parameter of type 'ftrace_func_t' (aka 'void (*)(unsigned long, unsigned long)') [-Werror,-Wincompatible-function-pointer-types] ftrace_init_array_ops(tr, irqsoff_tracer_call); ^~~~~~~~~~~~~~~~~~~ kernel/trace/trace.h:981:66: note: passing argument to parameter 'func' here void ftrace_init_array_ops(struct trace_array *tr, ftrace_func_t func); ^ 1 error generated. vim +6925 kernel/trace/ftrace.c 0b6e4d56bf7186 Frederic Weisbecker 2008-10-28 6923 3306fc4aff464f Steven Rostedt (VMware 2018-11-15 6924) struct ftrace_ops global_ops = { bd69c30b1d0803 Steven Rostedt 2011-05-03 @6925 .func = ftrace_stub, a25d036d939a30 Steven Rostedt (VMware 2020-11-05 6926) .flags = FTRACE_OPS_FL_INITIALIZED | e3eea1404f5ff7 Steven Rostedt (Red Hat 2015-07-24 6927) FTRACE_OPS_FL_PID, bd69c30b1d0803 Steven Rostedt 2011-05-03 6928 }; bd69c30b1d0803 Steven Rostedt 2011-05-03 6929 --- 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: 33236 bytes --]
next prev parent reply other threads:[~2021-11-05 18:50 UTC|newest] Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-10-05 5:39 [PATCH][next] ftrace: Fix -Wcast-function-type warnings on powerpc64 Gustavo A. R. Silva 2021-10-05 15:17 ` Steven Rostedt 2021-10-05 16:18 ` Gustavo A. R. Silva 2021-10-05 16:35 ` Steven Rostedt 2021-10-05 16:50 ` Gustavo A. R. Silva 2021-10-05 16:51 ` Steven Rostedt 2021-10-05 19:08 ` Steven Rostedt 2021-10-05 19:35 ` Gustavo A. R. Silva 2021-10-06 0:09 ` Steven Rostedt 2021-10-06 21:14 ` Gustavo A. R. Silva 2021-10-06 21:14 ` Steven Rostedt 2021-10-06 21:23 ` Gustavo A. R. Silva 2021-10-13 1:40 ` Gustavo A. R. Silva 2021-10-13 2:23 ` Steven Rostedt 2021-10-13 2:39 ` Gustavo A. R. Silva 2021-10-13 2:44 ` Steven Rostedt 2021-11-05 18:49 ` kernel test robot [this message] 2021-11-05 18:49 ` kernel test robot 2021-11-08 17:02 ` kernel test robot 2021-11-08 20:43 ` 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=202111060208.8EnFwQVJ-lkp@intel.com \ --to=lkp@intel.com \ --cc=gustavoars@kernel.org \ --cc=kbuild-all@lists.01.org \ --cc=llvm@lists.linux.dev \ /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.