You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.0 KiB
30 lines
1.0 KiB
![]()
7 years ago
|
From 333eb3edda3842f3e5dbd723cb18bbe47eb0508b Mon Sep 17 00:00:00 2001
|
||
|
From: Christian Lamparter <chunkeey@gmail.com>
|
||
|
Date: Wed, 4 Oct 2017 01:00:07 +0200
|
||
|
Subject: [PATCH 15/25] 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: Christian Lamparter <chunkeey@gmail.com>
|
||
|
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|
||
|
---
|
||
|
drivers/crypto/amcc/crypto4xx_sa.h | 4 ++--
|
||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
||
|
--- a/drivers/crypto/amcc/crypto4xx_sa.h
|
||
|
+++ b/drivers/crypto/amcc/crypto4xx_sa.h
|
||
|
@@ -266,9 +266,9 @@ get_dynamic_sa_offset_state_ptr_field(st
|
||
|
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
|