All of lore.kernel.org
 help / color / mirror / Atom feed
From: mayuming77@hotmail.com
To: linux-audit@redhat.com
Cc: linux-kernel@vger.kernel.org, MaYuming <mayuming77@hotmail.com>
Subject: [PATCH] Audit: fix coding style
Date: Sun, 11 Jul 2021 10:57:47 +0800	[thread overview]
Message-ID: <ME2PR01MB5458F90334AA98CF1AF969A7C2169@ME2PR01MB5458.ausprd01.prod.outlook.com> (raw)

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


             reply	other threads:[~2021-07-16 12:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-11  2:57 mayuming77 [this message]
2021-07-20  2:41 ` [PATCH] Audit: fix coding style Paul Moore
2021-07-20  2:41   ` Paul Moore

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ME2PR01MB5458F90334AA98CF1AF969A7C2169@ME2PR01MB5458.ausprd01.prod.outlook.com \
    --to=mayuming77@hotmail.com \
    --cc=linux-audit@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.