From: Hao Lan <bylanhao@gmail.com>
To: Eric Paris <eparis@redhat.com>, Jiri Kosina <trivial@kernel.org>
Cc: linux-kernel@vger.kernel.org,
Linus Torvalds <torvalds@linux-foundation.org>,
Hao Lan <bylanhao@gmail.com>
Subject: [PATCH 1/1] [trivial] Fix a coding style in include/linux/audit.h
Date: Fri, 4 Jul 2014 00:36:25 +0800 [thread overview]
Message-ID: <1404405385-4883-1-git-send-email-bylanhao@gmail.com> (raw)
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@gmail.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
reply other threads:[~2014-07-03 16:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1404405385-4883-1-git-send-email-bylanhao@gmail.com \
--to=bylanhao@gmail.com \
--cc=eparis@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
--cc=trivial@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox