[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20210712092620.GP2022171@shao2-debian>
Date: Mon, 12 Jul 2021 17:26:20 +0800
From: kernel test robot <rong.a.chen@...el.com>
To: Toke Høiland-Jørgensen <toke@...hat.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
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@...el.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
Download attachment ".config.gz" of type "application/gzip" (43164 bytes)
_______________________________________________
kbuild mailing list -- kbuild@...ts.01.org
To unsubscribe send an email to kbuild-leave@...ts.01.org
Powered by blists - more mailing lists