[Devel] [PATCH -mm 2/4] hifn_795x: fixup container_of() usage

Alexey Dobriyan adobriyan at sw.ru
Tue Jan 8 00:44:34 PST 2008


[PATCH -mm 2/4] hifn_795x: fixup container_of() usage

Signed-off-by: Alexey Dobriyan <adobriyan at sw.ru>
---

 drivers/crypto/hifn_795x.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- 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)
 {




More information about the Devel mailing list