Commit 333eb3ed authored by Christian Lamparter's avatar Christian Lamparter Committed by 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: default avatarChristian Lamparter <chunkeey@gmail.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent e9b8e4e1
...@@ -266,9 +266,9 @@ get_dynamic_sa_offset_state_ptr_field(struct dynamic_sa_ctl *cts) ...@@ -266,9 +266,9 @@ get_dynamic_sa_offset_state_ptr_field(struct dynamic_sa_ctl *cts)
return sizeof(struct dynamic_sa_ctl) + offset * 4; 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 #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment