Commit b966b546 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Herbert Xu

[CRYPTO] hifn_795x: Fixup container_of() usage

Signed-off-by: default avatarAlexey Dobriyan <adobriyan@sw.ru>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent e6ccc727
...@@ -664,7 +664,7 @@ struct hifn_context ...@@ -664,7 +664,7 @@ struct hifn_context
atomic_t sg_num; atomic_t sg_num;
}; };
#define crypto_alg_to_hifn(alg) 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) static inline u32 hifn_read_0(struct hifn_device *dev, u32 reg)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment