Re: [PATCH 2/2] bnxt_en: Implement XDP RSS hash metadata extraction
From: kernel test robot
Date: Sat Feb 14 2026 - 17:38:30 EST
Hi Chris,
kernel test robot noticed the following build errors:
[auto build test ERROR on v6.19]
[cannot apply to linus/master next-20260213]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Chris-J-Arges/bnxt_en-use-bnxt_xdp_buff-for-xdp-context/20260214-032849
base: v6.19
patch link: https://lore.kernel.org/r/20260213192449.1294830-3-carges%40cloudflare.com
patch subject: [PATCH 2/2] bnxt_en: Implement XDP RSS hash metadata extraction
config: openrisc-allmodconfig (https://download.01.org/0day-ci/archive/20260215/202602150651.wYfne7oq-lkp@xxxxxxxxx/config)
compiler: or1k-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260215/202602150651.wYfne7oq-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202602150651.wYfne7oq-lkp@xxxxxxxxx/
All error/warnings (new ones prefixed by >>):
>> drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:476:12: error: static declaration of 'bnxt_xdp_rx_hash' follows non-static declaration
476 | static int bnxt_xdp_rx_hash(const struct xdp_md *ctx, u32 *hash,
| ^~~~~~~~~~~~~~~~
In file included from drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:22:
drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.h:44:5: note: previous declaration of 'bnxt_xdp_rx_hash' with type 'int(const struct xdp_md *, u32 *, enum xdp_rss_hash_type *)' {aka 'int(const struct xdp_md *, unsigned int *, enum xdp_rss_hash_type *)'}
44 | int bnxt_xdp_rx_hash(const struct xdp_md *ctx, u32 *hash,
| ^~~~~~~~~~~~~~~~
>> drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:476:12: warning: 'bnxt_xdp_rx_hash' defined but not used [-Wunused-function]
476 | static int bnxt_xdp_rx_hash(const struct xdp_md *ctx, u32 *hash,
| ^~~~~~~~~~~~~~~~
vim +/bnxt_xdp_rx_hash +476 drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c
475
> 476 static int bnxt_xdp_rx_hash(const struct xdp_md *ctx, u32 *hash,
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki