[mingo-tip:sched/headers 1596/2384] ./usr/include/linux/netdevice.h:29:10: fatal error: uapi/linux/if.h: No such file or directory

From: kernel test robot
Date: Fri Jan 14 2022 - 18:52:36 EST


tree: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git sched/headers
head: 4c707c1c0de83967079b4e385012fa5b00e2cd11
commit: 5d5fc815f35aee2826c6b83d677576c46132c10c [1596/2384] headers/deps: net: Optimize <uapi/linux/netdevice.h>
config: x86_64-randconfig-a015 (https://download.01.org/0day-ci/archive/20220115/202201150726.6104S4by-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=5d5fc815f35aee2826c6b83d677576c46132c10c
git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
git fetch --no-tags mingo-tip sched/headers
git checkout 5d5fc815f35aee2826c6b83d677576c46132c10c
# 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/linux/if_arp.h:27,
from <command-line>:32:
>> ./usr/include/linux/netdevice.h:29:10: fatal error: uapi/linux/if.h: No such file or directory
29 | #include <uapi/linux/if.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.

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