Skip to contentSkip to conversation

Fix a coding style in include/linux/audit.h

PATCH New Hao Lan 1 participant 1 message Jul 3, 2014 Audit

lore
Share & tools
lore

Hao Lan

author
#0 lore raw

PATCH 1/1 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.

---
 include/linux/audit.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
include/linux/audit.h +4 -2
index 22cfddb..24786d9 100644
@@ -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);
 }
Signature · 1 line
1.9.3