From: kernel test robot <lkp@intel.com>
To: Amery Hung <ameryhung@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Alexei Starovoitov <ast@kernel.org>,
Martin KaFai Lau <martin.lau@kernel.org>,
Emil Tsalapatis <emil@etsalapatis.com>
Subject: net/ipv4/bpf_tcp_ops.c:88:29: sparse: warning: symbol 'bpf_tcp_ops_get_retval_proto' was not declared. Should it be static?
Date: Wed, 02 Dec 2026 16:33:47 +0100 [thread overview]
Message-ID: <20261202163128.Tol6r9s7-lkp@intel.com> (raw)
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
reply other threads:[~2026-12-02 15:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20261202163128.Tol6r9s7-lkp@intel.com \
--to=lkp@intel.com \
--cc=ameryhung@gmail.com \
--cc=ast@kernel.org \
--cc=emil@etsalapatis.com \
--cc=linux-kernel@vger.kernel.org \
--cc=martin.lau@kernel.org \
--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 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®