From: Alexey Dobriyan Date: Tue, 8 Jan 2008 10:36:34 +0000 (+1100) Subject: [CRYPTO] hifn_795x: Fixup container_of() usage X-Git-Tag: v2.6.25-rc1~1242^2~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b966b54654598aebdac9c57f102d769b36d2f68f;p=karo-tx-linux.git [CRYPTO] hifn_795x: Fixup container_of() usage Signed-off-by: Alexey Dobriyan Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/hifn_795x.c b/drivers/crypto/hifn_795x.c index 1a197003f1a2..16413e57597c 100644 --- 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(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) {