* [Qemu-devel] [PATCH] acpi: specify format for build_append_namestring
@ 2015-03-11 6:55 Michael S. Tsirkin
2015-03-11 14:52 ` Igor Mammedov
0 siblings, 1 reply; 2+ messages in thread
From: Michael S. Tsirkin @ 2015-03-11 6:55 UTC (permalink / raw)
To: qemu-devel
Will catch users if we misused it.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
hw/acpi/aml-build.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/acpi/aml-build.c b/hw/acpi/aml-build.c
index ace180b..6242908 100644
--- a/hw/acpi/aml-build.c
+++ b/hw/acpi/aml-build.c
@@ -141,6 +141,7 @@ build_append_namestringv(GArray *array, const char *format, va_list ap)
g_strfreev(segs);
}
+GCC_FMT_ATTR(2, 3)
static void build_append_namestring(GArray *array, const char *format, ...)
{
va_list ap;
--
MST
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] acpi: specify format for build_append_namestring
2015-03-11 6:55 [Qemu-devel] [PATCH] acpi: specify format for build_append_namestring Michael S. Tsirkin
@ 2015-03-11 14:52 ` Igor Mammedov
0 siblings, 0 replies; 2+ messages in thread
From: Igor Mammedov @ 2015-03-11 14:52 UTC (permalink / raw)
To: Michael S. Tsirkin; +Cc: qemu-devel
On Wed, 11 Mar 2015 07:55:20 +0100
"Michael S. Tsirkin" <mst@redhat.com> wrote:
> Will catch users if we misused it.
>
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
> ---
> hw/acpi/aml-build.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/hw/acpi/aml-build.c b/hw/acpi/aml-build.c
> index ace180b..6242908 100644
> --- a/hw/acpi/aml-build.c
> +++ b/hw/acpi/aml-build.c
> @@ -141,6 +141,7 @@ build_append_namestringv(GArray *array, const char *format, va_list ap)
> g_strfreev(segs);
> }
>
> +GCC_FMT_ATTR(2, 3)
> static void build_append_namestring(GArray *array, const char *format, ...)
> {
> va_list ap;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-11 14:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-11 6:55 [Qemu-devel] [PATCH] acpi: specify format for build_append_namestring Michael S. Tsirkin
2015-03-11 14:52 ` Igor Mammedov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).