mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* net/ipv4/bpf_tcp_ops.c:88:29: sparse: warning: symbol 'bpf_tcp_ops_get_retval_proto' was not declared. Should it be static?
@ 2026-12-02 15:33 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-12-02 15:33 UTC (permalink / raw)
  To: Amery Hung
  Cc: oe-kbuild-all, linux-kernel, Alexei Starovoitov,
	Martin KaFai Lau, Emil Tsalapatis

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   693c2e04e3f1d4c59af236e1211b7b8cb165a790
commit: 5ac77ae329400929f944437df6f5791467738409 bpf: tcp: Support selected sock_ops callbacks as struct_ops
date:   2 months ago
config: x86_64-randconfig-2300-20261130 (https://download.01.org/0day-ci/archive/20261202/20261202163128.Tol6r9s7-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
sparse: v0.6.5-rc1-94-g0d159c10
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261202/20261202163128.Tol6r9s7-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
| Fixes: 5ac77ae32940 ("bpf: tcp: Support selected sock_ops callbacks as struct_ops")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261202163128.Tol6r9s7-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> net/ipv4/bpf_tcp_ops.c:88:29: sparse: warning: symbol 'bpf_tcp_ops_get_retval_proto' was not declared. Should it be static?

vim +/bpf_tcp_ops_get_retval_proto +88 net/ipv4/bpf_tcp_ops.c

    87	
  > 88	const struct bpf_func_proto bpf_tcp_ops_get_retval_proto = {
    89		.func		= bpf_tcp_ops_get_retval,
    90		.gpl_only	= false,
    91		.ret_type	= RET_INTEGER,
    92	};
    93	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-12-02 15:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-02 15:33 net/ipv4/bpf_tcp_ops.c:88:29: sparse: warning: symbol 'bpf_tcp_ops_get_retval_proto' was not declared. Should it be static? kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®