[congwang:sch_bpf 2/2] ./usr/include/linux/bpf.h:6233:2: error: unknown type name 'u32'

From: kernel test robot
Date: Mon Aug 30 2021 - 08:02:20 EST


tree: https://github.com/congwang/linux.git sch_bpf
head: 176b121d540694ac8584c553c3d7cbbdbdbdeb72
commit: 176b121d540694ac8584c553c3d7cbbdbdbdeb72 [2/2] net_sched: introduce eBPF based Qdisc
config: x86_64-randconfig-c002-20210830 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/congwang/linux/commit/176b121d540694ac8584c553c3d7cbbdbdbdeb72
git remote add congwang https://github.com/congwang/linux.git
git fetch --no-tags congwang sch_bpf
git checkout 176b121d540694ac8584c553c3d7cbbdbdbdeb72
# save the attached .config 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 <command-line>:32:
>> ./usr/include/linux/bpf.h:6233:2: error: unknown type name 'u32'
6233 | u32 nr_flows;
| ^~~
./usr/include/linux/bpf.h:6234:2: error: unknown type name 'u32'
6234 | u32 nr_packets;
| ^~~
./usr/include/linux/bpf.h:6237:2: error: unknown type name 'u32'
6237 | u32 classid;
| ^~~
>> ./usr/include/linux/bpf.h:6238:2: error: unknown type name 'u64'
6238 | u64 rank;
| ^~~
./usr/include/linux/bpf.h:6239:2: error: unknown type name 'u64'
6239 | u64 delay;
| ^~~

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

Attachment: .config.gz
Description: application/gzip