Skip to content

Commit

Permalink
[CRYPTO] hifn_795x: Fixup container_of() usage
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  • Loading branch information
Alexey Dobriyan authored and Herbert Xu committed Jan 10, 2008
1 parent e6ccc72 commit b966b54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/crypto/hifn_795x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit b966b54

Please sign in to comment.