[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1404405385-4883-1-git-send-email-bylanhao@gmail.com>
Date: Fri, 4 Jul 2014 00:36:25 +0800
From: Hao Lan <bylanhao@...il.com>
To: Eric Paris <eparis@...hat.com>, Jiri Kosina <trivial@...nel.org>
Cc: linux-kernel@...r.kernel.org,
Linus Torvalds <torvalds@...ux-foundation.org>,
Hao Lan <bylanhao@...il.com>
Subject: [PATCH 1/1] [trivial] Fix a coding style in include/linux/audit.h
Functions have the opening brace at the beginning of the next line, but these
two functions in this file do not.
Signed-off-by: Hao Lan <bylanhao@...il.com>
---
include/linux/audit.h | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/include/linux/audit.h b/include/linux/audit.h
index 22cfddb..24786d9 100644
--- a/include/linux/audit.h
+++ b/include/linux/audit.h
@@ -170,7 +170,8 @@ static inline void audit_getname(struct filename *name)
}
static inline void audit_inode(struct filename *name,
const struct dentry *dentry,
- unsigned int parent) {
+ unsigned int parent)
+{
if (unlikely(!audit_dummy_context())) {
unsigned int flags = 0;
if (parent)
@@ -187,7 +188,8 @@ static inline void audit_inode_parent_hidden(struct filename *name,
}
static inline void audit_inode_child(const struct inode *parent,
const struct dentry *dentry,
- const unsigned char type) {
+ const unsigned char type)
+{
if (unlikely(!audit_dummy_context()))
__audit_inode_child(parent, dentry, type);
}
--
1.9.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists