Fix a coding style in include/linux/audit.h
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.
Signed-off-by Hao Lan <[email protected]>
--- include/linux/audit.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
include/linux/audit.h +4 -2
@@ -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