projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6ccc72
)
[CRYPTO] hifn_795x: Fixup container_of() usage
author
Alexey Dobriyan
<adobriyan@sw.ru>
Tue, 8 Jan 2008 10:36:34 +0000
(21:36 +1100)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Thu, 10 Jan 2008 21:17:02 +0000
(08:17 +1100)
Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hifn_795x.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/hifn_795x.c
b/drivers/crypto/hifn_795x.c
index 1a197003f1a264ea9af084a0a0197c2298fbb08f..16413e57597cb49a4894714a91faca62c3c4df72 100644
(file)
--- a/
drivers/crypto/hifn_795x.c
+++ b/
drivers/crypto/hifn_795x.c
@@
-664,7
+664,7
@@
struct hifn_context
atomic_t sg_num;
};
-#define crypto_alg_to_hifn(a
lg) container_of(alg
, struct hifn_crypto_alg, alg)
+#define crypto_alg_to_hifn(a
) container_of(a
, struct hifn_crypto_alg, alg)
static inline u32 hifn_read_0(struct hifn_device *dev, u32 reg)
{