All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Jakub Kicinski <kuba@kernel.org>
Cc: kbuild-all@lists.01.org, netdev@vger.kernel.org,
	David Ahern <dsahern@kernel.org>
Subject: [net-next:master 192/194] include/net/tcp.h:1694:1: warning: 'tcp_inbound_md5_hash' used but never defined
Date: Thu, 10 Mar 2022 00:19:36 +0800	[thread overview]
Message-ID: <202203100028.PDew5dU4-lkp@intel.com> (raw)

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

                 reply	other threads:[~2022-03-09 16:24 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=202203100028.PDew5dU4-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=dsahern@kernel.org \
    --cc=kbuild-all@lists.01.org \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    /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.