2021-06-15 03:14:45

by Chen, Rong A

[permalink] [raw]
Subject: [tip:tmp.tmp2 223/364] fs/namei.c: linux/audit.h is included more than once.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tmp.tmp2
head: adcceb5eb7aee38e4a9c15bdf599655f0e1b1324
commit: 25f492130c2aeb29ca88f0207dd616730af84ea9 [223/364] sched/headers, audit: Uninline audit_inode_child()
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 >>)
>> fs/namei.c: linux/audit.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:17:23

by Chen, Rong A

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

fs/namei.c: linux/audit.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]>
---
namei.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/fs/namei.c b/fs/namei.c
index a423bf0cbd1ae..13583d67a5a5d 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -15,7 +15,6 @@
/* [Feb-Apr 2000, AV] Rewrite to the new namespace architecture.
*/

-#include <linux/audit.h>
#include <linux/init.h>
#include <linux/export.h>
#include <linux/kernel.h>