[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 9/9] tests/libqtest: Enable compile-time format
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH 9/9] tests/libqtest: Enable compile-time format string checking |
Date: |
Tue, 25 Jul 2017 15:09:17 +0100 |
User-agent: |
Mutt/1.8.3 (2017-05-23) |
On Fri, Jul 21, 2017 at 03:53:26PM +0200, Markus Armbruster wrote:
> qtest_qmp() & friends pass their format string and variable arguments
> to qobject_from_jsonv(). Unlike qobject_from_jsonv(), they aren't
> decorated with GCC_FMT_ATTR(). Fix that to get compile-time format
> string checking.
>
> Signed-off-by: Markus Armbruster <address@hidden>
> ---
> tests/libqtest.h | 40 ++++++++++++++++++++++++----------------
> 1 file changed, 24 insertions(+), 16 deletions(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>
signature.asc
Description: PGP signature
- Re: [Qemu-devel] [PATCH 2/9] qtest: Document calling conventions, (continued)