[mingo-tip:master 1559/2382] ./usr/include/linux/socket.h:5:10: fatal error: uapi/linux/socket_types.h: No such file or directory

From: kernel test robot
Date: Fri Jan 14 2022 - 08:08:55 EST


tree: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git master
head: 1a880941a087613ed42f77001229edfcf75ea8a5
commit: 4d279aea908260eca25d06d817422f7b820a790f [1559/2382] headers/deps: net: Split <linux/socket_types.h> out of <linux/socket.h>
config: x86_64-randconfig-a015 (https://download.01.org/0day-ci/archive/20220114/202201142149.lENf79SU-lkp@xxxxxxxxx/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/mingo/tip.git/commit/?id=4d279aea908260eca25d06d817422f7b820a790f
git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
git fetch --no-tags mingo-tip master
git checkout 4d279aea908260eca25d06d817422f7b820a790f
# save the config file to linux build tree
mkdir build_dir
make W=1 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@xxxxxxxxx>

All errors (new ones prefixed by >>):

In file included from ./usr/include/rdma/rdma_user_cm.h:38,
from <command-line>:32:
>> ./usr/include/linux/socket.h:5:10: fatal error: uapi/linux/socket_types.h: No such file or directory
5 | #include <uapi/linux/socket_types.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

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