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
crypto: api - Change crypto_unregister_instance argument type
[firefly-linux-kernel-4.4.55.git]
/
crypto
/
crypto_user.c
diff --git
a/crypto/crypto_user.c
b/crypto/crypto_user.c
index c5148a35ae0a38c696f22eaba3c0b860ab8df1c9..eab2497238307a5ad116ee45fcc581b85696d935 100644
(file)
--- a/
crypto/crypto_user.c
+++ b/
crypto/crypto_user.c
@@
-316,7
+316,7
@@
static int crypto_del_alg(struct sk_buff *skb, struct nlmsghdr *nlh,
if (atomic_read(&alg->cra_refcnt) != 1)
return -EBUSY;
- return crypto_unregister_instance(alg);
+ return crypto_unregister_instance(
(struct crypto_instance *)
alg);
}
static struct crypto_alg *crypto_user_skcipher_alg(const char *name, u32 type,