[tip:tmp.tmp2 341/364] kernel/bpf/inode.c: linux/seq_file.h is included more than once.

2 messages, 1 author, 2021-06-15 · open the first message on its own page

[tip:tmp.tmp2 341/364] kernel/bpf/inode.c: linux/seq_file.h is included more than once.

From: kernel test robot <hidden>
Date: 2021-06-15 03:20:53

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tmp.tmp2
head:   adcceb5eb7aee38e4a9c15bdf599655f0e1b1324
commit: 324790b01da9f4a1e5ed4ab395e18a27a8768b8f [341/364] sched/headers, net: Optimize <net/net_namespace_types.h> and <net/net_namespace.h>
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <redacted>


includecheck warnings: (new ones prefixed by >>)
quoted
kernel/bpf/inode.c: linux/seq_file.h is included more than once.
Please review and possibly fold the followup patch.

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

[RFC PATCH tip] sched/headers, net: fix duplicated inclusion

From: kernel test robot <hidden>
Date: 2021-06-15 03:20:50

kernel/bpf/inode.c: linux/seq_file.h is included more than once.

Generated by: scripts/checkincludes.pl

Reported-by: kernel test robot <redacted>
Signed-off-by: kernel test robot <redacted>
---
 inode.c |    1 -
 1 file changed, 1 deletion(-)
diff --git a/kernel/bpf/inode.c b/kernel/bpf/inode.c
index 5a86998df2e3e..b7df5e30b5163 100644
--- a/kernel/bpf/inode.c
+++ b/kernel/bpf/inode.c
@@ -14,7 +14,6 @@
 #include <linux/mount.h>
 #include <linux/namei.h>
 #include <linux/sysfs.h>
-#include <linux/seq_file.h>
 #include <linux/kmod.h>
 #include <linux/fs.h>
 #include <linux/fs_context.h>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help