]> err.no Git - linux-2.6/commitdiff
[CRYPTO] hifn_795x: Fixup container_of() usage
authorAlexey Dobriyan <adobriyan@sw.ru>
Tue, 8 Jan 2008 10:36:34 +0000 (21:36 +1100)
committerHerbert 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

index 1a197003f1a264ea9af084a0a0197c2298fbb08f..16413e57597cb49a4894714a91faca62c3c4df72 100644 (file)
@@ -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)
 {