[PATCH 1/1] [trivial] Fix a coding style in include/linux/audit.h

From: Hao Lan
Date: Thu Jul 03 2014 - 12:36:50 EST


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@xxxxxxxxx>
---
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/