* [dwmw2:deprecate-legacy-ip 5/6] net/core/filter.c:6087:12: warning: 'bpf_fib_set_fwd_params' defined but not used
@ 2026-04-03 8:41 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-04-03 8:41 UTC (permalink / raw)
To: David Woodhouse; +Cc: oe-kbuild-all
tree: git://git.infradead.org/users/dwmw2/linux deprecate-legacy-ip
head: 2d2acff90d1c42a747b3fed5ce9189622f49daa3
commit: 3f213df15191632a3cb32932955ee90bff8385a0 [5/6] net: Change CONFIG_INET to CONFIG_LEGACY_IP for IPv4-only code
config: openrisc-defconfig (https://download.01.org/0day-ci/archive/20260402/202604022158.JsHHVfOH-lkp@intel.com/config)
compiler: or1k-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260402/202604022158.JsHHVfOH-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/202604022158.JsHHVfOH-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> net/core/filter.c:6087:12: warning: 'bpf_fib_set_fwd_params' defined but not used [-Wunused-function]
6087 | static int bpf_fib_set_fwd_params(struct bpf_fib_lookup *params, u32 mtu)
| ^~~~~~~~~~~~~~~~~~~~~~
vim +/bpf_fib_set_fwd_params +6087 net/core/filter.c
12bed760a78da6 Eyal Birger 2018-04-24 6085
adc4a85026a541 David Woodhouse 2026-04-01 6086 #if IS_ENABLED(CONFIG_INET)
31de4105f00d64 Martin KaFai Lau 2023-02-17 @6087 static int bpf_fib_set_fwd_params(struct bpf_fib_lookup *params, u32 mtu)
87f5fc7e48dd31 David Ahern 2018-05-09 6088 {
87f5fc7e48dd31 David Ahern 2018-05-09 6089 params->h_vlan_TCI = 0;
87f5fc7e48dd31 David Ahern 2018-05-09 6090 params->h_vlan_proto = 0;
e1850ea9bd9eca Jesper Dangaard Brouer 2021-02-09 6091 if (mtu)
e1850ea9bd9eca Jesper Dangaard Brouer 2021-02-09 6092 params->mtu_result = mtu; /* union with tot_len */
87f5fc7e48dd31 David Ahern 2018-05-09 6093
4c79579b44b187 David Ahern 2018-06-26 6094 return 0;
87f5fc7e48dd31 David Ahern 2018-05-09 6095 }
87f5fc7e48dd31 David Ahern 2018-05-09 6096 #endif
87f5fc7e48dd31 David Ahern 2018-05-09 6097
:::::: The code at line 6087 was first introduced by commit
:::::: 31de4105f00d64570139bc5494a201b0bd57349f bpf: Add BPF_FIB_LOOKUP_SKIP_NEIGH for bpf_fib_lookup
:::::: TO: Martin KaFai Lau <martin.lau@kernel.org>
:::::: CC: Daniel Borkmann <daniel@iogearbox.net>
--
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-04-03 8:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-03 8:41 [dwmw2:deprecate-legacy-ip 5/6] net/core/filter.c:6087:12: warning: 'bpf_fib_set_fwd_params' defined but not used kernel test robot
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.