Hi Michal,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on bpf/master]
[also build test ERROR on linus/master next-20210716]
[cannot apply to bpf-next/master sparc-next/master v5.14-rc1]
[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/Michal-Suchanek/libbpf-Remove-fr...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git master
config: i386-randconfig-a001-20210718 (attached as .config)
compiler: gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
reproduce (this is a W=1 build):
#
https://github.com/0day-ci/linux/commit/2ea8ab79c2a463d1811eca90527b055e1...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Michal-Suchanek/libbpf-Remove-from-kernel-tree/20210718-145456
git checkout 2ea8ab79c2a463d1811eca90527b055e1763decd
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 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 >>):
> kernel/bpf/preload/iterators/iterators.c:10:10: fatal error:
bpf/libbpf.h: No such file or directory
10 | #include <bpf/libbpf.h>
| ^~~~~~~~~~~~~~
compilation terminated.
vim +10 kernel/bpf/preload/iterators/iterators.c
d71fa5c9763c24 Alexei Starovoitov 2020-08-18 @10 #include <bpf/libbpf.h>
d71fa5c9763c24 Alexei Starovoitov 2020-08-18 11 #include <bpf/bpf.h>
d71fa5c9763c24 Alexei Starovoitov 2020-08-18 12 #include <sys/mount.h>
d71fa5c9763c24 Alexei Starovoitov 2020-08-18 13 #include "iterators.skel.h"
d71fa5c9763c24 Alexei Starovoitov 2020-08-18 14 #include
"bpf_preload_common.h"
d71fa5c9763c24 Alexei Starovoitov 2020-08-18 15
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org