2021-06-15 03:23:19

by Chen, Rong A

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

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 <[email protected]>


includecheck warnings: (new ones prefixed by >>)
>> 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/[email protected]


2021-06-15 03:23:20

by Chen, Rong A

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

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

Generated by: scripts/checkincludes.pl

Reported-by: kernel test robot <[email protected]>
Signed-off-by: kernel test robot <[email protected]>
---
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>