projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Convert ERR_PTR(PTR_ERR(p)) instances to ERR_CAST(p)
[firefly-linux-kernel-4.4.55.git]
/
security
/
keys
/
request_key_auth.c
diff --git
a/security/keys/request_key_auth.c
b/security/keys/request_key_auth.c
index 510f7be73a2d4e954cc8de34bed9580e5cc4a47b..e42b5252486fe07eb623f413ec61cc7073758da8 100644
(file)
--- 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)
current);
if (IS_ERR(authkey_ref)) {
- authkey = ERR_
PTR(PTR_ERR(authkey_ref)
);
+ authkey = ERR_
CAST(authkey_ref
);
goto error;
}