netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net-next:master 192/194] include/net/tcp.h:1694:1: warning: 'tcp_inbound_md5_hash' used but never defined
@ 2022-03-09 16:19 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-03-09 16:19 UTC (permalink / raw)
  To: Jakub Kicinski; +Cc: kbuild-all, netdev, David Ahern

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head:   40bb09c87f0b00c991f6c2fb367f0a2711760332
commit: 1330b6ef3313fcec577d2b020c290dc8b9f11f1a [192/194] skb: make drop reason booleanable
config: um-i386_defconfig (https://download.01.org/0day-ci/archive/20220310/202203100028.PDew5dU4-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commit/?id=1330b6ef3313fcec577d2b020c290dc8b9f11f1a
        git remote add net-next https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
        git fetch --no-tags net-next master
        git checkout 1330b6ef3313fcec577d2b020c290dc8b9f11f1a
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=um SUBARCH=i386 SHELL=/bin/bash net/core/ net/ipv4/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   In file included from net/ipv4/tcp_ipv4.c:64:
   include/net/tcp.h:1697:1: error: expected identifier or '(' before '{' token
    1697 | {
         | ^
>> include/net/tcp.h:1694:1: warning: 'tcp_inbound_md5_hash' used but never defined
    1694 | tcp_inbound_md5_hash(const struct sock *sk, const struct sk_buff *skb,
         | ^~~~~~~~~~~~~~~~~~~~


vim +/tcp_inbound_md5_hash +1694 include/net/tcp.h

  1692	
  1693	static inline enum skb_drop_reason
> 1694	tcp_inbound_md5_hash(const struct sock *sk, const struct sk_buff *skb,
  1695			     const void *saddr, const void *daddr,
  1696			     int family, int dif, int sdif);
> 1697	{
  1698		return SKB_NOT_DROPPED_YET;
  1699	}
  1700	#define tcp_twsk_md5_key(twsk)	NULL
  1701	#endif
  1702	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-09 16:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-09 16:19 [net-next:master 192/194] include/net/tcp.h:1694:1: warning: 'tcp_inbound_md5_hash' used but never defined kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).