[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100304132623.GA3740@localhost.localdomain>
Date: Thu, 4 Mar 2010 21:26:23 +0800
From: wzt.wzt@...il.com
To: linux-kernel@...r.kernel.org
Cc: linux-security-module@...r.kernel.org, jmorris@...ei.org,
dhowells@...hat.com
Subject: [PATCH 1/2] Security: Fix some coding styles in security/keys/keyring.c
Fix some coding styles in security/keys/keyring.c
Signed-off-by: Zhitong Wang <zhitong.wangzt@...baba-inc.com>
---
security/keys/keyring.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/security/keys/keyring.c b/security/keys/keyring.c
index 8ec0274..d77a7ef 100644
--- a/security/keys/keyring.c
+++ b/security/keys/keyring.c
@@ -168,12 +168,10 @@ static void keyring_describe(const struct key *keyring, struct seq_file *m)
{
struct keyring_list *klist;
- if (keyring->description) {
+ if (keyring->description)
seq_puts(m, keyring->description);
- }
- else {
+ else
seq_puts(m, "[anon]");
- }
rcu_read_lock();
klist = rcu_dereference(keyring->payload.subscriptions);
--
1.6.5.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