提交 333eb3ed 编写于 作者: C Christian Lamparter 提交者: Herbert Xu

crypto: crypto4xx - fix type mismatch compiler error

This patch fixes a type mismatch error that I accidentally
introduced when I moved and refactored the dynamic_contents
helpers.
Signed-off-by: NChristian Lamparter <chunkeey@gmail.com>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 e9b8e4e1
......@@ -266,9 +266,9 @@ get_dynamic_sa_offset_state_ptr_field(struct dynamic_sa_ctl *cts)
return sizeof(struct dynamic_sa_ctl) + offset * 4;
}
static inline u8 *get_dynamic_sa_key_field(struct dynamic_sa_ctl *cts)
static inline u32 *get_dynamic_sa_key_field(struct dynamic_sa_ctl *cts)
{
return (u8 *) ((unsigned long)cts + sizeof(struct dynamic_sa_ctl));
return (u32 *) ((unsigned long)cts + sizeof(struct dynamic_sa_ctl));
}
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册