All of lore.kernel.org
 help / color / mirror / Atom feed
* [netdev-net-next:main 114/116] include/net/sock.h:1861:56: error: use of undeclared identifier '__sock_wfree'; did you mean 'sock_wfree'?
@ 2026-05-14  9:12 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-14  9:12 UTC (permalink / raw)
  To: Eric Dumazet
  Cc: llvm, oe-kbuild-all, Jakub Kicinski,
	Toke Høiland-Jørgensen 

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git main
head:   18dc8e6d15d7a30888beec46a1e01ca0f98508fa
commit: f0de88303d5e7e04a1224bc7a00512b5a1c4fe7a [114/116] net: make is_skb_wmem() available to modules
config: arm-allnoconfig (https://download.01.org/0day-ci/archive/20260514/202605141714.4ghTxgEO-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 5bac06718f502014fade905512f1d26d578a18f3)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260514/202605141714.4ghTxgEO-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/202605141714.4ghTxgEO-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from init/do_mounts.c:23:
   In file included from include/linux/nfs_fs.h:32:
   In file included from include/linux/sunrpc/clnt.h:29:
   In file included from include/net/ipv6.h:12:
   In file included from include/linux/ipv6.h:103:
   In file included from include/linux/tcp.h:19:
>> include/net/sock.h:1861:56: error: use of undeclared identifier '__sock_wfree'; did you mean 'sock_wfree'?
    1861 |                (IS_ENABLED(CONFIG_INET) && skb->destructor == __sock_wfree) ||
         |                                                               ^~~~~~~~~~~~
         |                                                               sock_wfree
   include/net/sock.h:1853:6: note: 'sock_wfree' declared here
    1853 | void sock_wfree(struct sk_buff *skb);
         |      ^
>> include/net/sock.h:1862:56: error: use of undeclared identifier 'tcp_wfree'; did you mean 'sock_wfree'?
    1862 |                (IS_ENABLED(CONFIG_INET) && skb->destructor == tcp_wfree);
         |                                                               ^~~~~~~~~
         |                                                               sock_wfree
   include/net/sock.h:1853:6: note: 'sock_wfree' declared here
    1853 | void sock_wfree(struct sk_buff *skb);
         |      ^
   2 errors generated.


vim +1861 include/net/sock.h

  1850	
  1851	struct sk_buff *sock_wmalloc(struct sock *sk, unsigned long size, int force,
  1852				     gfp_t priority);
  1853	void sock_wfree(struct sk_buff *skb);
  1854	#ifdef CONFIG_INET
  1855	void __sock_wfree(struct sk_buff *skb);
  1856	void tcp_wfree(struct sk_buff *skb);
  1857	#endif
  1858	static inline bool is_skb_wmem(const struct sk_buff *skb)
  1859	{
  1860		return skb->destructor == sock_wfree ||
> 1861		       (IS_ENABLED(CONFIG_INET) && skb->destructor == __sock_wfree) ||
> 1862		       (IS_ENABLED(CONFIG_INET) && skb->destructor == tcp_wfree);
  1863	}
  1864	

--
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:[~2026-05-14  9:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-14  9:12 [netdev-net-next:main 114/116] include/net/sock.h:1861:56: error: use of undeclared identifier '__sock_wfree'; did you mean 'sock_wfree'? 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.