linux-audit.redhat.com archive mirror
 help / color / mirror / Atom feed
* [PATCH] Audit: fix coding style
@ 2021-07-11  2:57 mayuming77
  2021-07-20  2:41 ` Paul Moore
  0 siblings, 1 reply; 2+ messages in thread
From: mayuming77 @ 2021-07-11  2:57 UTC (permalink / raw)
  To: linux-audit; +Cc: linux-kernel, MaYuming

From: MaYuming <mayuming77@hotmail.com>

	avoid include file to multi include.

Signed-off-by: MaYuming <mayuming77@hotmail.com>
---
 kernel/audit.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/kernel/audit.h b/kernel/audit.h
index b565ea1..d6a2c89 100644
--- a/kernel/audit.h
+++ b/kernel/audit.h
@@ -6,6 +6,9 @@
  * Copyright 2005 IBM Corporation
  */
 
+#ifndef _KERNEL_AUDIT_H_
+#define _KERNEL_AUDIT_H_
+
 #include <linux/fs.h>
 #include <linux/audit.h>
 #include <linux/skbuff.h>
@@ -331,3 +334,5 @@ extern int audit_filter(int msgtype, unsigned int listtype);
 
 extern void audit_ctl_lock(void);
 extern void audit_ctl_unlock(void);
+
+#endif
-- 
2.7.4

--
Linux-audit mailing list
Linux-audit@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-audit


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Audit: fix coding style
  2021-07-11  2:57 [PATCH] Audit: fix coding style mayuming77
@ 2021-07-20  2:41 ` Paul Moore
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Moore @ 2021-07-20  2:41 UTC (permalink / raw)
  To: mayuming77; +Cc: linux-audit, linux-kernel

On Fri, Jul 16, 2021 at 8:30 AM <mayuming77@hotmail.com> wrote:
> From: MaYuming <mayuming77@hotmail.com>
>
>         avoid include file to multi include.
>
> Signed-off-by: MaYuming <mayuming77@hotmail.com>
> ---
>  kernel/audit.h | 5 +++++
>  1 file changed, 5 insertions(+)

Merged into audit/next, thanks.

-- 
paul moore
www.paul-moore.com

--
Linux-audit mailing list
Linux-audit@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-audit


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-20  2:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-11  2:57 [PATCH] Audit: fix coding style mayuming77
2021-07-20  2:41 ` 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).