[Top][All Lists]

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

[Qemu-devel] [PULL 01/15] acpi: Add missing GCC_FMT_ATTR

From: Michael S. Tsirkin
Subject: [Qemu-devel] [PULL 01/15] acpi: Add missing GCC_FMT_ATTR
Date: Fri, 8 Apr 2016 11:02:05 +0300

From: Stefan Weil <address@hidden>

This fixes a compiler warning when compiling with -Wextra.

Signed-off-by: Stefan Weil <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
 include/hw/acpi/aml-build.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/hw/acpi/aml-build.h b/include/hw/acpi/aml-build.h
index 66f48ec..2c994b3 100644
--- a/include/hw/acpi/aml-build.h
+++ b/include/hw/acpi/aml-build.h
@@ -369,6 +369,7 @@ build_rsdt(GArray *table_data, GArray *linker, GArray 
            const char *oem_id, const char *oem_table_id);
-build_append_named_dword(GArray *array, const char *name_format, ...);
+build_append_named_dword(GArray *array, const char *name_format, ...)
+GCC_FMT_ATTR(2, 3);

reply via email to

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