Re: [PATCH bpf-next v2 2/9] xsk: add TX timestamp and TX checksum offload support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Stanislav,

kernel test robot noticed the following build warnings:

[auto build test WARNING on bpf-next/master]

url:    https://github.com/intel-lab-lkp/linux/commits/Stanislav-Fomichev/xsk-Support-tx_metadata_len/20230915-051153
base:   https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
patch link:    https://lore.kernel.org/r/20230914210452.2588884-3-sdf%40google.com
patch subject: [PATCH bpf-next v2 2/9] xsk: add TX timestamp and TX checksum offload support
config: riscv-defconfig (https://download.01.org/0day-ci/archive/20230915/202309150941.EhULA98J-lkp@xxxxxxxxx/config)
compiler: riscv64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230915/202309150941.EhULA98J-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/202309150941.EhULA98J-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

   In file included from include/net/xdp_sock_drv.h:9,
                    from drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:44:
>> include/net/xdp_sock.h:183:52: warning: 'struct xsk_tx_metadata_comp' declared inside parameter list will not be visible outside of this definition or declaration
     183 | static inline void xsk_tx_metadata_complete(struct xsk_tx_metadata_comp *compl,
         |                                                    ^~~~~~~~~~~~~~~~~~~~


vim +183 include/net/xdp_sock.h

   182	
 > 183	static inline void xsk_tx_metadata_complete(struct xsk_tx_metadata_comp *compl,
   184						    const struct xsk_tx_metadata_ops *ops,
   185						    void *priv)
   186	{
   187	}
   188	

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




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux