diff options
Diffstat (limited to 'security/keys/request_key_auth.c')
-rw-r--r-- | security/keys/request_key_auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/keys/request_key_auth.c b/security/keys/request_key_auth.c index 510f7be73a2d..e42b5252486f 100644 --- a/security/keys/request_key_auth.c +++ b/security/keys/request_key_auth.c | |||
@@ -261,7 +261,7 @@ struct key *key_get_instantiation_authkey(key_serial_t target_id) | |||
261 | current); | 261 | current); |
262 | 262 | ||
263 | if (IS_ERR(authkey_ref)) { | 263 | if (IS_ERR(authkey_ref)) { |
264 | authkey = ERR_PTR(PTR_ERR(authkey_ref)); | 264 | authkey = ERR_CAST(authkey_ref); |
265 | goto error; | 265 | goto error; |
266 | } | 266 | } |
267 | 267 | ||