diff options
author | David Howells <dhowells@redhat.com> | 2016-06-14 10:29:44 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2016-06-14 10:29:44 +0100 |
commit | 965475acca2cbcc1d748a8b6a05f8c7cf57d075a (patch) | |
tree | 773e1e16dd91ee926d6b8dd7914e90814841e360 | |
parent | 40d273782ff16fe1a7445cc05c66a447dfea3433 (diff) | |
download | op-kernel-dev-965475acca2cbcc1d748a8b6a05f8c7cf57d075a.zip op-kernel-dev-965475acca2cbcc1d748a8b6a05f8c7cf57d075a.tar.gz |
KEYS: Strip trailing spaces
Strip some trailing spaces.
Signed-off-by: David Howells <dhowells@redhat.com>
-rw-r--r-- | include/keys/rxrpc-type.h | 2 | ||||
-rw-r--r-- | security/keys/persistent.c | 2 | ||||
-rw-r--r-- | security/keys/request_key.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/include/keys/rxrpc-type.h b/include/keys/rxrpc-type.h index fc48754..5de0673 100644 --- a/include/keys/rxrpc-type.h +++ b/include/keys/rxrpc-type.h @@ -51,7 +51,7 @@ struct krb5_principal { struct krb5_tagged_data { /* for tag value, see /usr/include/krb5/krb5.h * - KRB5_AUTHDATA_* for auth data - * - + * - */ s32 tag; u32 data_len; diff --git a/security/keys/persistent.c b/security/keys/persistent.c index 2ef45b3..1edc1f0 100644 --- a/security/keys/persistent.c +++ b/security/keys/persistent.c @@ -114,7 +114,7 @@ found: ret = key_link(key_ref_to_ptr(dest_ref), persistent); if (ret == 0) { key_set_timeout(persistent, persistent_keyring_expiry); - ret = persistent->serial; + ret = persistent->serial; } } diff --git a/security/keys/request_key.c b/security/keys/request_key.c index a29e355..43affcf 100644 --- a/security/keys/request_key.c +++ b/security/keys/request_key.c @@ -442,7 +442,7 @@ static struct key *construct_key_and_link(struct keyring_search_context *ctx, if (ctx->index_key.type == &key_type_keyring) return ERR_PTR(-EPERM); - + user = key_user_lookup(current_fsuid()); if (!user) return ERR_PTR(-ENOMEM); |