All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [RFC PATCH v2 27/45] mptcp: Add ADD_ADDR handling
Date: Thu, 03 Oct 2019 14:54:36 +0800	[thread overview]
Message-ID: <201910031431.BbcLPh4V%lkp@intel.com> (raw)
In-Reply-To: <20191002233655.24323-28-mathew.j.martineau@linux.intel.com>

[-- Attachment #1: Type: text/plain, Size: 8810 bytes --]

Hi Mat,

[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on net/master]
[cannot apply to v5.4-rc1 next-20191003]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Mat-Martineau/Multipath-TCP/20191003-074736
config: sparc64-allmodconfig (attached as .config)
compiler: sparc64-linux-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=sparc64 

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

All errors (new ones prefixed by >>):

   In file included from <command-line>:0:0:
   include/net/mptcp.h:13:2: error: unknown type name 'u64'
     u64  data_ack;
     ^~~
   include/net/mptcp.h:14:2: error: unknown type name 'u64'
     u64  data_seq;
     ^~~
   include/net/mptcp.h:15:2: error: unknown type name 'u32'
     u32  subflow_seq;
     ^~~
   include/net/mptcp.h:16:2: error: unknown type name 'u16'
     u16  data_len;
     ^~~
   include/net/mptcp.h:17:2: error: unknown type name '__sum16'
     __sum16  checksum;
     ^~~~~~~
   include/net/mptcp.h:18:2: error: unknown type name 'u8'
     u8  use_map:1,
     ^~
   include/net/mptcp.h:29:2: error: unknown type name 'u16'
     u16 suboptions;
     ^~~
   include/net/mptcp.h:30:2: error: unknown type name 'u64'
     u64 sndr_key;
     ^~~
   include/net/mptcp.h:31:2: error: unknown type name 'u64'
     u64 rcvr_key;
     ^~~
>> include/net/mptcp.h:33:18: error: field 'addr' has incomplete type
      struct in_addr addr;
                     ^~~~
>> include/net/mptcp.h:35:19: error: field 'addr6' has incomplete type
      struct in6_addr addr6;
                      ^~~~~
   include/net/mptcp.h:38:2: error: unknown type name 'u8'
     u8 addr_id;
     ^~
   include/net/mptcp.h:47:15: error: unknown type name 'bool'
    static inline bool sk_is_mptcp(const struct sock *sk)
                  ^~~~
   include/net/mptcp.h:47:45: warning: 'struct sock' declared inside parameter list will not be visible outside of this definition or declaration
    static inline bool sk_is_mptcp(const struct sock *sk)
                                                ^~~~
   include/net/mptcp.h: In function 'sk_is_mptcp':
   include/net/mptcp.h:49:9: error: implicit declaration of function 'tcp_sk' [-Werror=implicit-function-declaration]
     return tcp_sk(sk)->is_mptcp;
            ^~~~~~
   include/net/mptcp.h:49:19: error: invalid type argument of '->' (have 'int')
     return tcp_sk(sk)->is_mptcp;
                      ^~
   include/net/mptcp.h: At top level:
   include/net/mptcp.h:52:15: error: unknown type name 'bool'
    static inline bool rsk_is_mptcp(const struct request_sock *req)
                  ^~~~
   include/net/mptcp.h:52:46: warning: 'struct request_sock' declared inside parameter list will not be visible outside of this definition or declaration
    static inline bool rsk_is_mptcp(const struct request_sock *req)
                                                 ^~~~~~~~~~~~
   include/net/mptcp.h: In function 'rsk_is_mptcp':
   include/net/mptcp.h:54:9: error: implicit declaration of function 'tcp_rsk' [-Werror=implicit-function-declaration]
     return tcp_rsk(req)->is_mptcp;
            ^~~~~~~
   include/net/mptcp.h:54:21: error: invalid type argument of '->' (have 'int')
     return tcp_rsk(req)->is_mptcp;
                        ^~
   include/net/mptcp.h: At top level:
   include/net/mptcp.h:58:11: warning: 'struct tcp_options_received' declared inside parameter list will not be visible outside of this definition or declaration
       struct tcp_options_received *opt_rx);
              ^~~~~~~~~~~~~~~~~~~~
   include/net/mptcp.h:59:1: error: unknown type name 'bool'; did you mean '_Bool'?
    bool mptcp_syn_options(struct sock *sk, unsigned int *size,
    ^~~~
    _Bool
   include/net/mptcp.h:59:31: warning: 'struct sock' declared inside parameter list will not be visible outside of this definition or declaration
    bool mptcp_syn_options(struct sock *sk, unsigned int *size,
                                  ^~~~
   include/net/mptcp.h:61:31: warning: 'struct sock' declared inside parameter list will not be visible outside of this definition or declaration
    void mptcp_rcv_synsent(struct sock *sk);
                                  ^~~~
   include/net/mptcp.h:62:1: error: unknown type name 'bool'; did you mean '_Bool'?
    bool mptcp_synack_options(const struct request_sock *req, unsigned int *size,
    ^~~~
    _Bool
   include/net/mptcp.h:62:40: warning: 'struct request_sock' declared inside parameter list will not be visible outside of this definition or declaration
    bool mptcp_synack_options(const struct request_sock *req, unsigned int *size,
                                           ^~~~~~~~~~~~
   include/net/mptcp.h:64:1: error: unknown type name 'bool'; did you mean '_Bool'?
    bool mptcp_established_options(struct sock *sk, struct sk_buff *skb,
    ^~~~
    _Bool
   include/net/mptcp.h:64:56: warning: 'struct sk_buff' declared inside parameter list will not be visible outside of this definition or declaration
    bool mptcp_established_options(struct sock *sk, struct sk_buff *skb,
                                                           ^~~~~~~
   include/net/mptcp.h:64:39: warning: 'struct sock' declared inside parameter list will not be visible outside of this definition or declaration
    bool mptcp_established_options(struct sock *sk, struct sk_buff *skb,
                                          ^~~~
   include/net/mptcp.h:68:15: warning: 'struct tcp_options_received' declared inside parameter list will not be visible outside of this definition or declaration
           struct tcp_options_received *opt_rx);
                  ^~~~~~~~~~~~~~~~~~~~
   include/net/mptcp.h:67:53: warning: 'struct sk_buff' declared inside parameter list will not be visible outside of this definition or declaration
    void mptcp_incoming_options(struct sock *sk, struct sk_buff *skb,
                                                        ^~~~~~~
   include/net/mptcp.h:67:36: warning: 'struct sock' declared inside parameter list will not be visible outside of this definition or declaration
    void mptcp_incoming_options(struct sock *sk, struct sk_buff *skb,
                                       ^~~~
   include/net/mptcp.h:70:15: error: unknown type name 'bool'
    static inline bool mptcp_skb_ext_exist(const struct sk_buff *skb)
                  ^~~~
   include/net/mptcp.h:70:53: warning: 'struct sk_buff' declared inside parameter list will not be visible outside of this definition or declaration
    static inline bool mptcp_skb_ext_exist(const struct sk_buff *skb)
                                                        ^~~~~~~
   include/net/mptcp.h: In function 'mptcp_skb_ext_exist':
   include/net/mptcp.h:72:9: error: implicit declaration of function 'skb_ext_exist'; did you mean 'mptcp_skb_ext_exist'? [-Werror=implicit-function-declaration]
     return skb_ext_exist(skb, SKB_EXT_MPTCP);
            ^~~~~~~~~~~~~
            mptcp_skb_ext_exist
   include/net/mptcp.h:72:28: error: 'SKB_EXT_MPTCP' undeclared (first use in this function)
     return skb_ext_exist(skb, SKB_EXT_MPTCP);
                               ^~~~~~~~~~~~~
   include/net/mptcp.h:72:28: note: each undeclared identifier is reported only once for each function it appears in
   include/net/mptcp.h: At top level:
   include/net/mptcp.h:75:26: error: unknown type name '__be32'; did you mean '__weak'?
    void mptcp_write_options(__be32 *ptr, struct mptcp_out_options *opts);
                             ^~~~~~
                             __weak
   cc1: some warnings being treated as errors

vim +/addr +33 include/net/mptcp.h

    26	
    27	struct mptcp_out_options {
    28	#if IS_ENABLED(CONFIG_MPTCP)
  > 29		u16 suboptions;
  > 30		u64 sndr_key;
    31		u64 rcvr_key;
    32		union {
  > 33			struct in_addr addr;
    34	#if IS_ENABLED(CONFIG_IPV6)
  > 35			struct in6_addr addr6;
    36	#endif
    37		};
    38		u8 addr_id;
    39		struct mptcp_ext ext_copy;
    40	#endif
    41	};
    42	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 59096 bytes --]

  reply	other threads:[~2019-10-03  6:54 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-02 23:36 [RFC PATCH v2 00/45] Multipath TCP Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 01/45] tcp: Add MPTCP option number Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 02/45] net: Make sock protocol value checks more specific Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 03/45] sock: Make sk_protocol a 16-bit value Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 04/45] tcp: Define IPPROTO_MPTCP Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 05/45] mptcp: Add MPTCP socket stubs Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 06/45] mptcp: Handle MPTCP TCP options Mat Martineau
2019-10-03  1:58   ` kbuild test robot
2019-10-03  2:04   ` kbuild test robot
2019-10-02 23:36 ` [RFC PATCH v2 07/45] mptcp: Associate MPTCP context with TCP socket Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 08/45] tcp: Expose tcp struct and routine for MPTCP Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 09/45] mptcp: Handle MP_CAPABLE options for outgoing connections Mat Martineau
2019-10-03  3:16   ` kbuild test robot
2019-10-03  3:34   ` kbuild test robot
2019-10-02 23:36 ` [RFC PATCH v2 10/45] mptcp: add mptcp_poll Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 11/45] tcp, ulp: Add clone operation to tcp_ulp_ops Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 12/45] mptcp: Create SUBFLOW socket for incoming connections Mat Martineau
2019-10-03  4:35   ` kbuild test robot
2019-10-03  4:42   ` kbuild test robot
2019-10-02 23:36 ` [RFC PATCH v2 13/45] mptcp: Add key generation and token tree Mat Martineau
2019-10-03  2:01   ` kbuild test robot
2019-10-02 23:36 ` [RFC PATCH v2 14/45] mptcp: Add shutdown() socket operation Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 15/45] mptcp: Add setsockopt()/getsockopt() socket operations Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 16/45] tcp: clean ext on tx recycle Mat Martineau
2019-10-03  0:18   ` kbuild test robot
2019-10-03  1:09   ` kbuild test robot
2019-10-02 23:36 ` [RFC PATCH v2 17/45] mptcp: Add MPTCP to skb extensions Mat Martineau
2019-10-03  5:48   ` kbuild test robot
2019-10-02 23:36 ` [RFC PATCH v2 18/45] tcp: Prevent coalesce/collapse when skb has MPTCP extensions Mat Martineau
2019-10-03  5:52   ` kbuild test robot
2019-10-03  7:08   ` kbuild test robot
2019-10-02 23:36 ` [RFC PATCH v2 19/45] tcp: Export low-level TCP functions Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 20/45] mptcp: Write MPTCP DSS headers to outgoing data packets Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 21/45] mptcp: Implement MPTCP receive path Mat Martineau
2019-10-03  0:53   ` kbuild test robot
2019-10-03  1:17   ` kbuild test robot
2019-10-02 23:36 ` [RFC PATCH v2 22/45] mptcp: use sk_page_frag() in sendmsg Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 23/45] mptcp: sendmsg() do spool all the provided data Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 24/45] mptcp: allow collapsing consecutive sendpages on the same substream Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 25/45] tcp: Check for filled TCP option space before SACK Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 26/45] mptcp: Add path manager interface Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 27/45] mptcp: Add ADD_ADDR handling Mat Martineau
2019-10-03  6:54   ` kbuild test robot [this message]
2019-10-02 23:36 ` [RFC PATCH v2 28/45] mptcp: Add handling of incoming MP_JOIN requests Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 29/45] mptcp: harmonize locking on all socket operations Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 30/45] mptcp: new sysctl to control the activation per NS Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 31/45] mptcp: add basic kselftest for mptcp Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 32/45] mptcp: Add handling of outgoing MP_JOIN requests Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 33/45] mptcp: Implement path manager interface commands Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 34/45] mptcp: Make MPTCP socket block/wakeup ignore sk_receive_queue Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 35/45] mptcp: update per unacked sequence on pkt reception Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 36/45] mptcp: queue data for mptcp level retransmission Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 37/45] mptcp: introduce MPTCP retransmission timer Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 38/45] mptcp: implement memory accounting for mptcp rtx queue Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 39/45] mptcp: rework mptcp_sendmsg_frag to accept optional dfrag Mat Martineau
2019-10-03  1:17   ` kbuild test robot
2019-10-02 23:36 ` [RFC PATCH v2 40/45] mptcp: implement and use MPTCP-level retransmission Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 41/45] selftests: mptcp: make tc delays random Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 42/45] selftests: mptcp: extend mptcp_connect tool for ipv6 family Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 43/45] selftests: mptcp: add accept/getpeer checks Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 44/45] selftests: mptcp: add ipv6 connectivity Mat Martineau
2019-10-02 23:36 ` [RFC PATCH v2 45/45] selftests: mptcp: random ethtool tweaking Mat Martineau
2019-10-02 23:53 ` [RFC PATCH v2 00/45] Multipath TCP Mat Martineau
2019-10-03  0:12 ` David Miller
2019-10-03  0:27   ` Mat Martineau

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=201910031431.BbcLPh4V%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.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.