[mptcp:export 1590/1600] ./usr/include/linux/mptcp.h:209:23: error: field has incomplete type 'struct sockaddr_in6'

From: kernel test robot <hidden>
Date: 2021-08-30 05:54:04
Also in: mptcp, oe-kbuild-all

tree:   https://github.com/multipath-tcp/mptcp_net-next.git export
head:   1ea48596242aecb9d4c5e5f9a5cb0789ee5a7435
commit: 0489b1d382f12fee5229ace90765e03c913c7212 [1590/1600] mptcp: add MPTCP_SUBFLOW_ADDRS getsockopt support
config: x86_64-buildonly-randconfig-r006-20210829 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 510e106fa8635e7f9c51c896180b971de6309b2f)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/multipath-tcp/mptcp_net-next/commit/0489b1d382f12fee5229ace90765e03c913c7212
        git remote add mptcp https://github.com/multipath-tcp/mptcp_net-next.git
        git fetch --no-tags mptcp export
        git checkout 0489b1d382f12fee5229ace90765e03c913c7212
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <redacted>

All errors (new ones prefixed by >>):

   In file included from <built-in>:1:
quoted
./usr/include/linux/mptcp.h:207:19: error: field has incomplete type 'struct sockaddr'
                   struct sockaddr sa_local;
                                   ^
   ./usr/include/linux/mptcp.h:207:10: note: forward declaration of 'struct sockaddr'
                   struct sockaddr sa_local;
                          ^
quoted
./usr/include/linux/mptcp.h:209:23: error: field has incomplete type 'struct sockaddr_in6'
                   struct sockaddr_in6 sin6_local;
                                       ^
   ./usr/include/linux/mptcp.h:209:10: note: forward declaration of 'struct sockaddr_in6'
                   struct sockaddr_in6 sin6_local;
                          ^
quoted
./usr/include/linux/mptcp.h:210:27: error: field has incomplete type 'struct sockaddr_storage'
                   struct sockaddr_storage ss_local;
                                           ^
   ./usr/include/linux/mptcp.h:210:10: note: forward declaration of 'struct sockaddr_storage'
                   struct sockaddr_storage ss_local;
                          ^
   ./usr/include/linux/mptcp.h:213:19: error: field has incomplete type 'struct sockaddr'
                   struct sockaddr sa_remote;
                                   ^
   ./usr/include/linux/mptcp.h:207:10: note: forward declaration of 'struct sockaddr'
                   struct sockaddr sa_local;
                          ^
   ./usr/include/linux/mptcp.h:215:23: error: field has incomplete type 'struct sockaddr_in6'
                   struct sockaddr_in6 sin6_remote;
                                       ^
   ./usr/include/linux/mptcp.h:209:10: note: forward declaration of 'struct sockaddr_in6'
                   struct sockaddr_in6 sin6_local;
                          ^
   ./usr/include/linux/mptcp.h:216:27: error: field has incomplete type 'struct sockaddr_storage'
                   struct sockaddr_storage ss_remote;
                                           ^
   ./usr/include/linux/mptcp.h:210:10: note: forward declaration of 'struct sockaddr_storage'
                   struct sockaddr_storage ss_local;
                          ^
   6 errors generated.

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

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help