Hi Florian,
I love your patch! Yet something to improve:
[auto build test ERROR on kselftest/next]
[also build test ERROR on mptcp/export linus/master v5.14-rc5 next-20210811]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Florian-Westphal/mptcp-add-SOL_M...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git next
config: x86_64-randconfig-a004-20210811 (attached as .config)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
d39ebdae674c8efc84ebe8dc32716ec353220530)
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/0day-ci/linux/commit/bd7031682bfb2cfd717fde49bd7f943c0...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Florian-Westphal/mptcp-add-SOL_MPTCP-getsockopt-support/20210811-212510
git checkout bd7031682bfb2cfd717fde49bd7f943c09f7a9a5
# 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 <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from <built-in>:1:
> ./usr/include/linux/mptcp.h:205:3: error: unknown type name
'sa_family_t'
sa_family_t sa_family;
^
> ./usr/include/linux/mptcp.h:206:19: error: field has incomplete
type 'struct sockaddr'
struct sockaddr sa_local;
^
./usr/include/linux/mptcp.h:206:10: note: forward declaration of 'struct
sockaddr'
struct sockaddr sa_local;
^
> ./usr/include/linux/mptcp.h:208:23: error: field has incomplete
type 'struct sockaddr_in6'
struct sockaddr_in6
sin6_local;
^
./usr/include/linux/mptcp.h:208:10: note: forward declaration of 'struct
sockaddr_in6'
struct sockaddr_in6 sin6_local;
^
> ./usr/include/linux/mptcp.h:209:27: error: field has incomplete
type 'struct sockaddr_storage'
struct sockaddr_storage
ss_local;
^
./usr/include/linux/mptcp.h:209:10: note: forward declaration of 'struct
sockaddr_storage'
struct sockaddr_storage ss_local;
^
./usr/include/linux/mptcp.h:212:19: error: field has incomplete type 'struct
sockaddr'
struct sockaddr sa_remote;
^
./usr/include/linux/mptcp.h:206:10: note: forward declaration of 'struct
sockaddr'
struct sockaddr sa_local;
^
./usr/include/linux/mptcp.h:214:23: error: field has incomplete type 'struct
sockaddr_in6'
struct sockaddr_in6 sin6_remote;
^
./usr/include/linux/mptcp.h:208:10: note: forward declaration of 'struct
sockaddr_in6'
struct sockaddr_in6 sin6_local;
^
./usr/include/linux/mptcp.h:215:27: error: field has incomplete type 'struct
sockaddr_storage'
struct sockaddr_storage ss_remote;
^
./usr/include/linux/mptcp.h:209:10: note: forward declaration of 'struct
sockaddr_storage'
struct sockaddr_storage ss_local;
^
7 errors generated.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org