* Re: [PATCH net-next v3 04/14] net-timestamp: introduce TS_SCHED_OPT_CB to generate dev xmit timestamp
[not found] <20241028110535.82999-5-kerneljasonxing@gmail.com>
@ 2024-10-29 1:04 ` kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-10-29 1:04 UTC (permalink / raw)
To: Jason Xing, davem, edumazet, kuba, pabeni, dsahern,
willemdebruijn.kernel, willemb, ast, daniel, andrii, martin.lau,
eddyz87, song, yonghong.song, john.fastabend, kpsingh, sdf,
haoluo, jolsa, shuah, ykolal
Cc: llvm, oe-kbuild-all, bpf, netdev, Jason Xing
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: arm64-randconfig-001-20241029 (https://download.01.org/0day-ci/archive/20241029/202410290852.PLcWZ1Yo-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241029/202410290852.PLcWZ1Yo-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/202410290852.PLcWZ1Yo-lkp@intel.com/
All errors (new ones prefixed by >>):
>> net/core/skbuff.c:5640:2: error: call to undeclared function 'BPF_CGROUP_RUN_PROG_SOCK_OPS_SK'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
5640 | BPF_CGROUP_RUN_PROG_SOCK_OPS_SK(&sock_ops, sk);
| ^
1 error generated.
vim +/BPF_CGROUP_RUN_PROG_SOCK_OPS_SK +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
^ permalink raw reply [flat|nested] only message in thread