Explorar o código

[CRYPTO] hifn_795x: Fixup container_of() usage

Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Alexey Dobriyan %!s(int64=17) %!d(string=hai) anos
pai
achega
b966b54654
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/crypto/hifn_795x.c

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