qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH-for-4.1] crypto: Fix data type for len parameter in two typedefs
@ 2019-07-18 19:51 Stefan Weil
  2019-07-19  0:27 ` Carlo Arenas
  2019-07-19 16:25 ` Daniel P. Berrangé
  0 siblings, 2 replies; 3+ messages in thread
From: Stefan Weil @ 2019-07-18 19:51 UTC (permalink / raw)
  To: Daniel P . Berrangé; +Cc: Stefan Weil, qemu-devel

Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
 crypto/hash-nettle.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/crypto/hash-nettle.c b/crypto/hash-nettle.c
index 96f186f442..074cece468 100644
--- a/crypto/hash-nettle.c
+++ b/crypto/hash-nettle.c
@@ -28,10 +28,10 @@
 
 typedef void (*qcrypto_nettle_init)(void *ctx);
 typedef void (*qcrypto_nettle_write)(void *ctx,
-                                     unsigned int len,
+                                     size_t len,
                                      const uint8_t *buf);
 typedef void (*qcrypto_nettle_result)(void *ctx,
-                                      unsigned int len,
+                                      size_t len,
                                       uint8_t *buf);
 
 union qcrypto_hash_ctx {
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH-for-4.1] crypto: Fix data type for len parameter in two typedefs
  2019-07-18 19:51 [Qemu-devel] [PATCH-for-4.1] crypto: Fix data type for len parameter in two typedefs Stefan Weil
@ 2019-07-19  0:27 ` Carlo Arenas
  2019-07-19 16:25 ` Daniel P. Berrangé
  1 sibling, 0 replies; 3+ messages in thread
From: Carlo Arenas @ 2019-07-19  0:27 UTC (permalink / raw)
  To: Stefan Weil; +Cc: Daniel P . Berrangé, qemu-devel

this series seems to provide a more complete fix

https://patchwork.ozlabs.org/cover/1131259/


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH-for-4.1] crypto: Fix data type for len parameter in two typedefs
  2019-07-18 19:51 [Qemu-devel] [PATCH-for-4.1] crypto: Fix data type for len parameter in two typedefs Stefan Weil
  2019-07-19  0:27 ` Carlo Arenas
@ 2019-07-19 16:25 ` Daniel P. Berrangé
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel P. Berrangé @ 2019-07-19 16:25 UTC (permalink / raw)
  To: Stefan Weil; +Cc: qemu-devel

On Thu, Jul 18, 2019 at 09:51:23PM +0200, Stefan Weil wrote:
> Signed-off-by: Stefan Weil <sw@weilnetz.de>
> ---
>  crypto/hash-nettle.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

FYI, A different fix for this problem is now merged.


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-07-19 16:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-18 19:51 [Qemu-devel] [PATCH-for-4.1] crypto: Fix data type for len parameter in two typedefs Stefan Weil
2019-07-19  0:27 ` Carlo Arenas
2019-07-19 16:25 ` Daniel P. Berrangé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).