From: kernel test robot <lkp@intel.com>
To: Geliang Tang <geliang.tang@suse.com>, mptcp@lists.linux.dev
Cc: oe-kbuild-all@lists.linux.dev, Geliang Tang <geliang.tang@suse.com>
Subject: Re: [PATCH mptcp-next v2 3/4] mptcp: add a ftrace callback for tcp_set_state
Date: Thu, 30 Nov 2023 07:15:41 +0800 [thread overview]
Message-ID: <202311300545.66qcYRv2-lkp@intel.com> (raw)
In-Reply-To: <4323a04943500dce8c072c49ce50b21591357876.1701230012.git.geliang.tang@suse.com>
Hi Geliang,
kernel test robot noticed the following build errors:
[auto build test ERROR on mptcp/export]
[also build test ERROR on mptcp/export-net linus/master v6.7-rc3 next-20231129]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Geliang-Tang/mptcp-add-a-current-established-counter/20231129-131030
base: https://github.com/multipath-tcp/mptcp_net-next.git export
patch link: https://lore.kernel.org/r/4323a04943500dce8c072c49ce50b21591357876.1701230012.git.geliang.tang%40suse.com
patch subject: [PATCH mptcp-next v2 3/4] mptcp: add a ftrace callback for tcp_set_state
config: arm-randconfig-r111-20231129 (https://download.01.org/0day-ci/archive/20231130/202311300545.66qcYRv2-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce: (https://download.01.org/0day-ci/archive/20231130/202311300545.66qcYRv2-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311300545.66qcYRv2-lkp@intel.com/
All errors (new ones prefixed by >>):
>> net/mptcp/trace.c:39:22: error: call to undeclared function 'regs_get_kernel_argument'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
39 | sk = (struct sock *)ftrace_regs_get_argument(fregs, 0);
| ^
include/linux/ftrace.h:158:2: note: expanded from macro 'ftrace_regs_get_argument'
158 | regs_get_kernel_argument(ftrace_get_regs(fregs), n)
| ^
net/mptcp/trace.c:39:22: note: did you mean 'regs_get_kernel_stack_nth'?
include/linux/ftrace.h:158:2: note: expanded from macro 'ftrace_regs_get_argument'
158 | regs_get_kernel_argument(ftrace_get_regs(fregs), n)
| ^
arch/arm/include/asm/ptrace.h:131:22: note: 'regs_get_kernel_stack_nth' declared here
131 | extern unsigned long regs_get_kernel_stack_nth(struct pt_regs *regs,
| ^
1 error generated.
vim +/regs_get_kernel_argument +39 net/mptcp/trace.c
30
31 static void mptcp_state_callback(unsigned long ip,
32 unsigned long parent_ip,
33 struct ftrace_ops *op,
34 struct ftrace_regs *fregs)
35 {
36 int oldstate, state;
37 struct sock *sk;
38
> 39 sk = (struct sock *)ftrace_regs_get_argument(fregs, 0);
40 if (!sk)
41 return;
42
43 oldstate = sk->sk_state;
44 state = (int)ftrace_regs_get_argument(fregs, 1);
45
46 if (sk_is_mptcp(sk))
47 mptcp_check_state(sk, oldstate, state);
48 }
49
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2023-11-29 23:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-29 4:08 [PATCH mptcp-next v2 0/4] add MPTCP_MIB_CURRESTAB Geliang Tang
2023-11-29 4:08 ` [PATCH mptcp-next v2 1/4] mptcp: add mib counter dec helper Geliang Tang
2023-11-29 4:08 ` [PATCH mptcp-next v2 2/4] mptcp: add a current established counter Geliang Tang
2023-11-29 4:08 ` [PATCH mptcp-next v2 3/4] mptcp: add a ftrace callback for tcp_set_state Geliang Tang
2023-11-29 9:08 ` Paolo Abeni
2023-11-29 12:01 ` kernel test robot
2023-11-29 21:36 ` kernel test robot
2023-11-29 23:15 ` kernel test robot [this message]
2023-11-29 4:08 ` [PATCH mptcp-next v2 4/4] selftests: mptcp: join: check CURRESTAB counters Geliang Tang
2023-11-29 4:25 ` selftests: mptcp: join: check CURRESTAB counters: Tests Results MPTCP CI
2023-11-29 4:31 ` selftests: mptcp: join: check CURRESTAB counters: Build Failure MPTCP CI
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=202311300545.66qcYRv2-lkp@intel.com \
--to=lkp@intel.com \
--cc=geliang.tang@suse.com \
--cc=mptcp@lists.linux.dev \
--cc=oe-kbuild-all@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: link
Be 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.