projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de2954d
)
crypto: mv_cesa - use ablkcipher_request_cast instead of the manual container_of
author
Phil Sutter
<phil.sutter@viprinet.com>
Thu, 5 May 2011 13:28:57 +0000
(15:28 +0200)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Wed, 11 May 2011 05:06:13 +0000
(15:06 +1000)
Signed-off-by: Phil Sutter <phil.sutter@viprinet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/mv_cesa.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/crypto/mv_cesa.c
b/drivers/crypto/mv_cesa.c
index c99305afa58ab255042c2432f9114e9cc1792704..c443246ca4b1f747264797232cab940cc197303e 100644
(file)
--- a/
drivers/crypto/mv_cesa.c
+++ b/
drivers/crypto/mv_cesa.c
@@
-603,9
+603,7
@@
static int queue_manag(void *data)
if (async_req->tfm->__crt_alg->cra_type !=
&crypto_ahash_type) {
struct ablkcipher_request *req =
- container_of(async_req,
- struct ablkcipher_request,
- base);
+ ablkcipher_request_cast(async_req);
mv_start_new_crypt_req(req);
} else {
struct ahash_request *req =