qemu-block
[Top][All Lists]
Advanced

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

Re: [PATCH 08/27] compiler.h: replace QEMU_WARN_UNUSED_RESULT with G_GNU


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 08/27] compiler.h: replace QEMU_WARN_UNUSED_RESULT with G_GNUC_WARN_UNUSED_RESULT
Date: Wed, 16 Mar 2022 14:20:09 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.7.0

On 16/3/22 10:52, marcandre.lureau@redhat.com wrote:
From: Marc-André Lureau <marcandre.lureau@redhat.com>

One less qemu-specific macro. It also helps to make some headers/units
only depend on glib, and thus moved in standalone projects eventually.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
---
  include/qemu-common.h      |  2 +-
  include/qemu/compiler.h    |  2 --
  include/qemu/range.h       |  4 ++--
  scripts/cocci-macro-file.h |  2 +-
  block/qcow2-refcount.c     | 20 +++++++++++---------
  scripts/checkpatch.pl      |  2 +-
  6 files changed, 16 insertions(+), 16 deletions(-)

Preferably poisoning QEMU_WARN_UNUSED_RESULT:
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>



reply via email to

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