aboutsummaryrefslogtreecommitdiffstats
path: root/security/keys/key.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/keys/key.c')
-rw-r--r--security/keys/key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/keys/key.c b/security/keys/key.c
index fdd5ca6d89fc..654d23baf352 100644
--- a/security/keys/key.c
+++ b/security/keys/key.c
@@ -820,7 +820,7 @@ key_ref_t key_create_or_update(key_ref_t keyring_ref,
820 key = key_alloc(ktype, description, current->fsuid, current->fsgid, 820 key = key_alloc(ktype, description, current->fsuid, current->fsgid,
821 current, perm, flags); 821 current, perm, flags);
822 if (IS_ERR(key)) { 822 if (IS_ERR(key)) {
823 key_ref = ERR_PTR(PTR_ERR(key)); 823 key_ref = ERR_CAST(key);
824 goto error_3; 824 goto error_3;
825 } 825 }
826 826