* [PATCH v2] Security: Keys: Added derived keytype
@ 2016-03-24 21:27 Kirill Marinushkin
0 siblings, 0 replies; only message in thread
From: Kirill Marinushkin @ 2016-03-24 21:27 UTC (permalink / raw)
To: dhowells; +Cc: linux-kernel, keyrings, linux-security-module, k.marinushkin
Resolved derived keytype build warnings for sparc64
Signed-off-by: Kirill Marinushkin <k.marinushkin@gmail.com>
---
security/keys/derived.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/security/keys/derived.c b/security/keys/derived.c
index 18085ce..8a6ea63 100644
--- a/security/keys/derived.c
+++ b/security/keys/derived.c
@@ -214,7 +214,7 @@ static int parse_options(char **args_str,
}
payload->saltlen = templen;
usalt.data = payload->salt;
- usalt.lenp = &payload->saltlen;
+ usalt.lenp = (size_t*)&payload->saltlen;
break;
case OPT_SHORT_ITER: /* iterations */
--
1.9.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-03-24 21:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-24 21:27 [PATCH v2] Security: Keys: Added derived keytype Kirill Marinushkin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®