lkml.org 
[lkml]   [2021]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[toke:xdp-queueing-01 1/3] kernel/bpf/pifomap.c:8:1: iwyu: warning: superfluous #include <trace/events/xdp.h>
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/toke/linux.git xdp-queueing-01
head: 6b5756c44933d2b55e5e59e1196ef95894203cf7
commit: b8d0d0f924c237daf55b430a85007bd41ad01d7e [1/3] Add a PIFO map type for queueing packets
config: x86_64-randconfig-b001-20210709 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 8d69635ed9ecf36fd0ca85906bfde17949671cbe)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# apt-get install iwyu # include-what-you-use
# https://git.kernel.org/pub/scm/linux/kernel/git/toke/linux.git/commit/?id=b8d0d0f924c237daf55b430a85007bd41ad01d7e
git remote add toke https://git.kernel.org/pub/scm/linux/kernel/git/toke/linux.git
git fetch --no-tags toke xdp-queueing-01
git checkout b8d0d0f924c237daf55b430a85007bd41ad01d7e
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross C=1 CHECK=iwyu O=build_dir ARCH=x86_64 SHELL=/bin/bash kernel/bpf/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


iwyu warnings: (new ones prefixed by >>)
>> kernel/bpf/pifomap.c:8:1: iwyu: warning: superfluous #include <trace/events/xdp.h>

vim +8 kernel/bpf/pifomap.c

b8d0d0f924c237 Toke Høiland-Jørgensen 2021-06-30 2
b8d0d0f924c237 Toke Høiland-Jørgensen 2021-06-30 3 /* Pifomaps queue packets
b8d0d0f924c237 Toke Høiland-Jørgensen 2021-06-30 4 */
b8d0d0f924c237 Toke Høiland-Jørgensen 2021-06-30 5 #include <linux/bpf.h>
b8d0d0f924c237 Toke Høiland-Jørgensen 2021-06-30 6 #include <net/xdp.h>
b8d0d0f924c237 Toke Høiland-Jørgensen 2021-06-30 7 #include <linux/filter.h>
b8d0d0f924c237 Toke Høiland-Jørgensen 2021-06-30 @8 #include <trace/events/xdp.h>
b8d0d0f924c237 Toke Høiland-Jørgensen 2021-06-30 9

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[unhandled content-type:application/gzip]_______________________________________________
kbuild mailing list -- kbuild@lists.01.org
To unsubscribe send an email to kbuild-leave@lists.01.org
\
 
 \ /
  Last update: 2021-07-12 11:27    [W:0.034 / U:1.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site