[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202410290828.ZqgMO8Xc-lkp@intel.com>
Date: Tue, 29 Oct 2024 08:23:03 +0800
From: kernel test robot <lkp@...el.com>
To: Jason Xing <kerneljasonxing@...il.com>, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
dsahern@...nel.org, willemdebruijn.kernel@...il.com,
willemb@...gle.com, ast@...nel.org, daniel@...earbox.net,
andrii@...nel.org, martin.lau@...ux.dev, eddyz87@...il.com,
song@...nel.org, yonghong.song@...ux.dev, john.fastabend@...il.com,
kpsingh@...nel.org, sdf@...ichev.me, haoluo@...gle.com,
jolsa@...nel.org, shuah@...nel.org, ykolal@...com
Cc: oe-kbuild-all@...ts.linux.dev, bpf@...r.kernel.org,
netdev@...r.kernel.org, Jason Xing <kernelxing@...cent.com>
Subject: Re: [PATCH net-next v3 04/14] net-timestamp: introduce
TS_SCHED_OPT_CB to generate dev xmit timestamp
Hi Jason,
kernel test robot noticed the following build errors:
[auto build test ERROR on net-next/main]
url: https://github.com/intel-lab-lkp/linux/commits/Jason-Xing/net-timestamp-reorganize-in-skb_tstamp_tx_output/20241028-192036
base: net-next/main
patch link: https://lore.kernel.org/r/20241028110535.82999-5-kerneljasonxing%40gmail.com
patch subject: [PATCH net-next v3 04/14] net-timestamp: introduce TS_SCHED_OPT_CB to generate dev xmit timestamp
config: arm-randconfig-001-20241029 (https://download.01.org/0day-ci/archive/20241029/202410290828.ZqgMO8Xc-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241029/202410290828.ZqgMO8Xc-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410290828.ZqgMO8Xc-lkp@intel.com/
All errors (new ones prefixed by >>):
net/core/skbuff.c: In function 'timestamp_call_bpf':
>> net/core/skbuff.c:5640:9: error: implicit declaration of function 'BPF_CGROUP_RUN_PROG_SOCK_OPS_SK'; did you mean 'BPF_CGROUP_RUN_PROG_SOCK_OPS'? [-Wimplicit-function-declaration]
5640 | BPF_CGROUP_RUN_PROG_SOCK_OPS_SK(&sock_ops, sk);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| BPF_CGROUP_RUN_PROG_SOCK_OPS
vim +5640 net/core/skbuff.c
5624
5625 static void timestamp_call_bpf(struct sock *sk, int op, u32 nargs, u32 *args)
5626 {
5627 struct bpf_sock_ops_kern sock_ops;
5628
5629 memset(&sock_ops, 0, offsetof(struct bpf_sock_ops_kern, temp));
5630 if (sk_fullsock(sk)) {
5631 sock_ops.is_fullsock = 1;
5632 sock_owned_by_me(sk);
5633 }
5634
5635 sock_ops.sk = sk;
5636 sock_ops.op = op;
5637 if (nargs > 0)
5638 memcpy(sock_ops.args, args, nargs * sizeof(*args));
5639
> 5640 BPF_CGROUP_RUN_PROG_SOCK_OPS_SK(&sock_ops, sk);
5641 }
5642
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists