From patchwork Wed Mar 16 19:43:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Weil X-Patchwork-Id: 8603831 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 917B8C0553 for ; Wed, 16 Mar 2016 19:44:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 97ECB2014A for ; Wed, 16 Mar 2016 19:44:18 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8BE2A20131 for ; Wed, 16 Mar 2016 19:44:17 +0000 (UTC) Received: from localhost ([::1]:58502 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agHMd-0004o8-QJ for patchwork-qemu-devel@patchwork.kernel.org; Wed, 16 Mar 2016 15:44:15 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59759) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agHMI-0004Oi-Sb for qemu-devel@nongnu.org; Wed, 16 Mar 2016 15:43:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1agHMF-0006TY-N2 for qemu-devel@nongnu.org; Wed, 16 Mar 2016 15:43:54 -0400 Received: from qemu.weilnetz.de ([37.221.198.45]:60071) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agHMF-0006TL-HK; Wed, 16 Mar 2016 15:43:51 -0400 Received: by qemu.weilnetz.de (Postfix, from userid 1000) id E8CFA17F6A3; Wed, 16 Mar 2016 20:43:47 +0100 (CET) From: Stefan Weil To: QEMU Developer , QEMU Trivial Date: Wed, 16 Mar 2016 20:43:37 +0100 Message-Id: <1458157417-15856-1-git-send-email-sw@weilnetz.de> X-Mailer: git-send-email 2.1.4 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 37.221.198.45 Cc: Igor Mammedov , Stefan Weil , "Michael S. Tsirkin" Subject: [Qemu-devel] [PATCH] acpi: Add missing GCC_FMT_ATTR X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This fixes a compiler warning when compiling with -Wextra. Signed-off-by: Stefan Weil Reviewed-by: Igor Mammedov --- 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 *table_offsets, const char *oem_id, const char *oem_table_id); int -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); #endif