* [PATCH -next] ipe: Remove duplicated include in ipe.c
@ 2024-08-22 0:31 Yang Li
2024-08-22 1:15 ` [PATCH] " Paul Moore
0 siblings, 1 reply; 2+ messages in thread
From: Yang Li @ 2024-08-22 0:31 UTC (permalink / raw)
To: wufan, paul, jmorris, serge
Cc: linux-security-module, linux-kernel, Yang Li, Abaci Robot
The header files eval.h is included twice in ipe.c,
so one inclusion of each can be removed.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9796
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
security/ipe/ipe.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/security/ipe/ipe.c b/security/ipe/ipe.c
index e19a18078cf3..4317134cb0da 100644
--- a/security/ipe/ipe.c
+++ b/security/ipe/ipe.c
@@ -7,7 +7,6 @@
#include "ipe.h"
#include "eval.h"
#include "hooks.h"
-#include "eval.h"
extern const char *const ipe_boot_policy;
bool ipe_enabled;
--
2.32.0.3.g01195cf9f
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ipe: Remove duplicated include in ipe.c
2024-08-22 0:31 [PATCH -next] ipe: Remove duplicated include in ipe.c Yang Li
@ 2024-08-22 1:15 ` Paul Moore
0 siblings, 0 replies; 2+ messages in thread
From: Paul Moore @ 2024-08-22 1:15 UTC (permalink / raw)
To: Yang Li, wufan, jmorris, serge
Cc: linux-security-module, linux-kernel, Yang Li, Abaci Robot
On Aug 21, 2024 Yang Li <yang.lee@linux.alibaba.com> wrote:
>
> The header files eval.h is included twice in ipe.c,
> so one inclusion of each can be removed.
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9796
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
> security/ipe/ipe.c | 1 -
> 1 file changed, 1 deletion(-)
Looks good to me, merged into lsm/dev, thanks!
--
paul-moore.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-08-22 1:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-22 0:31 [PATCH -next] ipe: Remove duplicated include in ipe.c Yang Li
2024-08-22 1:15 ` [PATCH] " Paul Moore
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).