Thread (22 messages) flat view 22 messages, 3 authors, 2026-03-22

Re: [net-next v4 08/12] net: bnxt: Implement software USO

From: kernel test robot <hidden>
Date: 2026-03-22 08:44:03
Also in: lkml, oe-kbuild-all

Hi Joe,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 9f4960b94f1a044f76da98a765d6cbd294c22c92]

url:    https://github.com/intel-lab-lkp/linux/commits/Joe-Damato/net-tso-Introduce-tso_dma_map/20260322-071901
base:   9f4960b94f1a044f76da98a765d6cbd294c22c92
patch link:    https://lore.kernel.org/r/20260320144141.260246-9-joe%40dama.to
patch subject: [net-next v4 08/12] net: bnxt: Implement software USO
config: i386-randconfig-012-20260322 (https://download.01.org/0day-ci/archive/20260322/202603221823.WbZUThzj-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260322/202603221823.WbZUThzj-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 [off-list ref]
| Closes: https://lore.kernel.org/oe-kbuild-all/202603221823.WbZUThzj-lkp@intel.com/ (local)

All warnings (new ones prefixed by >>):

   drivers/net/ethernet/broadcom/bnxt/bnxt_gso.c: In function 'bnxt_sw_udp_gso_xmit':
quoted
drivers/net/ethernet/broadcom/bnxt/bnxt_gso.c:43:20: warning: variable 'last_unmap_addr' set but not used [-Wunused-but-set-variable]
      43 |         dma_addr_t last_unmap_addr = 0;
         |                    ^~~~~~~~~~~~~~~
quoted
drivers/net/ethernet/broadcom/bnxt/bnxt_gso.c:41:22: warning: variable 'last_unmap_len' set but not used [-Wunused-but-set-variable]
      41 |         unsigned int last_unmap_len = 0;
         |                      ^~~~~~~~~~~~~~


vim +/last_unmap_addr +43 drivers/net/ethernet/broadcom/bnxt/bnxt_gso.c

    33	
    34	netdev_tx_t bnxt_sw_udp_gso_xmit(struct bnxt *bp,
    35					 struct bnxt_tx_ring_info *txr,
    36					 struct netdev_queue *txq,
    37					 struct sk_buff *skb)
    38	{
    39		struct bnxt_sw_tx_bd *last_unmap_buf = NULL;
    40		unsigned int hdr_len, mss, num_segs;
  > 41		unsigned int last_unmap_len = 0;
    42		struct pci_dev *pdev = bp->pdev;
  > 43		dma_addr_t last_unmap_addr = 0;

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help