Skip to content

Commit

Permalink
KEYS: Strip trailing spaces
Browse files Browse the repository at this point in the history
Strip some trailing spaces.

Signed-off-by: David Howells <[email protected]>
  • Loading branch information
dhowells committed Jun 14, 2016
1 parent 40d2737 commit 965475a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/keys/rxrpc-type.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion security/keys/persistent.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ static long key_get_persistent(struct user_namespace *ns, kuid_t uid,
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;
}
}

Expand Down
2 changes: 1 addition & 1 deletion security/keys/request_key.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 965475a

Please sign in to comment.