qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v3 11/27] backends/tpm: Use qemu_hexdump_line to avoid sprintf
Date: Fri, 12 Apr 2024 19:47:36 +0200
User-agent: Mozilla Thunderbird

On 12/4/24 09:33, Richard Henderson wrote:
From: Philippe Mathieu-Daudé <philmd@linaro.org>

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 <stefanb@linux.ibm.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
[rth: Keep the linebreaks every 16 bytes]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
  backends/tpm/tpm_util.c | 24 ++++++++++--------------
  1 file changed, 10 insertions(+), 14 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]