Re: [PATCH v3 11/27] backends/tpm: Use qemu_hexdump_line to avoid sprintf

2024-04-12 Thread Philippe Mathieu-Daudé
On 12/4/24 09:33, Richard Henderson wrote: From: Philippe Mathieu-Daudé sprintf() is deprecated on Darwin since macOS 13.0 / XCode 14.1. Using qemu_hexdump_line both fixes the deprecation warning and simplifies the code base. Reviewed-by: Stefan Berger Signed-off-by: Philippe Mathieu-Daudé [

[PATCH v3 11/27] backends/tpm: Use qemu_hexdump_line to avoid sprintf

2024-04-12 Thread Richard Henderson
From: Philippe Mathieu-Daudé sprintf() is deprecated on Darwin since macOS 13.0 / XCode 14.1. Using qemu_hexdump_line both fixes the deprecation warning and simplifies the code base. Reviewed-by: Stefan Berger Signed-off-by: Philippe Mathieu-Daudé [rth: Keep the linebreaks every 16 bytes] Sign