All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Pavel Begunkov <asml.silence@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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
Date: Fri, 3 Jan 2025 07:15:13 +0800	[thread overview]
Message-ID: <202501030743.PL4d8Zzu-lkp@intel.com> (raw)

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

                 reply	other threads:[~2025-01-02 23:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202501030743.PL4d8Zzu-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=asml.silence@gmail.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.