All of lore.kernel.org
 help / color / mirror / Atom feed
* [isilence:zcrx/v10-wip 24/26] include/net/page_pool/types.h:162:63: warning: 'struct sk_buff' declared inside parameter list will not be visible outside of this definition or declaration
@ 2025-01-02 23:15 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-01-02 23:15 UTC (permalink / raw)
  To: Pavel Begunkov; +Cc: oe-kbuild-all

tree:   https://github.com/isilence/linux zcrx/v10-wip
head:   1e1214d152c4b21b5bc3e9b37e26cd60ed14632b
commit: 26d3d6fd0fa6f3e197318e94775a218dbbc91047 [24/26] [NOT-FOR-UPSTREAM] veth: add support for io_uring zc rx
config: i386-buildonly-randconfig-006-20250103 (https://download.01.org/0day-ci/archive/20250103/202501030743.PL4d8Zzu-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250103/202501030743.PL4d8Zzu-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/202501030743.PL4d8Zzu-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from include/linux/io_uring/net.h:5,
                    from io_uring/uring_cmd.c:6:
>> include/net/page_pool/types.h:162:63: warning: 'struct sk_buff' declared inside parameter list will not be visible outside of this definition or declaration
     162 |         int (*nl_report)(const struct page_pool *pool, struct sk_buff *rsp);
         |                                                               ^~~~~~~


vim +162 include/net/page_pool/types.h

c11536b904730c Pavel Begunkov 2024-12-11  156  
1245218831784d Jakub Kicinski 2024-10-01  157  struct memory_provider_ops {
1245218831784d Jakub Kicinski 2024-10-01  158  	netmem_ref (*alloc_netmems)(struct page_pool *pool, gfp_t gfp);
1245218831784d Jakub Kicinski 2024-10-01  159  	bool (*release_netmem)(struct page_pool *pool, netmem_ref netmem);
1245218831784d Jakub Kicinski 2024-10-01  160  	int (*init)(struct page_pool *pool);
1245218831784d Jakub Kicinski 2024-10-01  161  	void (*destroy)(struct page_pool *pool);
674f3cef08654a Pavel Begunkov 2024-12-11 @162  	int (*nl_report)(const struct page_pool *pool, struct sk_buff *rsp);
c11536b904730c Pavel Begunkov 2024-12-11  163  	void (*uninstall)(void *mp_priv, struct netdev_rx_queue *rxq);
1245218831784d Jakub Kicinski 2024-10-01  164  };
1245218831784d Jakub Kicinski 2024-10-01  165  

:::::: The code at line 162 was first introduced by commit
:::::: 674f3cef08654ae4da4c3a6bf1dfd0673bead172 net: page_pool: add mp op for netlink reporting

:::::: TO: Pavel Begunkov <asml.silence@gmail.com>
:::::: CC: Pavel Begunkov <asml.silence@gmail.com>

-- 
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:[~2025-01-02 23:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-02 23:15 [isilence:zcrx/v10-wip 24/26] include/net/page_pool/types.h:162:63: warning: 'struct sk_buff' declared inside parameter list will not be visible outside of this definition or declaration 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.