From patchwork Fri Aug 9 02:01:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marek_Marczykowski-G=C3=B3recki?= X-Patchwork-Id: 11085113 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1C03B13B1 for ; Fri, 9 Aug 2019 02:03:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0D32228C1E for ; Fri, 9 Aug 2019 02:03:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0141A28C24; Fri, 9 Aug 2019 02:03:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AA4DD28C1F for ; Fri, 9 Aug 2019 02:03:58 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hvuEA-0006up-4F; Fri, 09 Aug 2019 02:01:58 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hvuE9-0006ug-0C for xen-devel@lists.xenproject.org; Fri, 09 Aug 2019 02:01:57 +0000 X-Inumbo-ID: a8e01734-ba49-11e9-8d8d-235235505607 Received: from wout1-smtp.messagingengine.com (unknown [64.147.123.24]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id a8e01734-ba49-11e9-8d8d-235235505607; Fri, 09 Aug 2019 02:01:54 +0000 (UTC) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 489743A5; Thu, 8 Aug 2019 22:01:53 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Thu, 08 Aug 2019 22:01:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=2ztVlV+ibL28L5ZFNhBKoRrx061LCercbgzAyeJ66 Go=; b=j6l3maJjSfnAwosMm1sxYLYEYpfmEjcDy0P58gkNhq5GEEm+LRxqzKoOw 3zH7PbJzQZraQWoVAoyKLrO5THpZgKbDUos17N5lBFLxfSVhE1FHUBDIcx6UnnCp h+Su9CqMpVOBj3rxtytk2Sq7fGP3TNnwyrANJcQMMLGkJ7MP5wYbPW0pd5+ewUcM qOlR8jx3rMEd91u5t7FHVpItK2QN0J0qaBtTmEZabYkKiSP45jhlvAixmRrhJM+t DlHlVcDmYL+3WYpn9TISwHcF4D/ly+QY4X6gDpoOs93vs9b/uxGtaJNvVl98FB5g E1mL04ilttKXdtT3hMDpHi5W8eYeA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudduiedgheduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfgggtohfgsehtkeertdertdejnecuhfhrohhmpeforghr vghkucforghrtgiihihkohifshhkihdqifpkrhgvtghkihcuoehmrghrmhgrrhgvkhesih hnvhhishhisghlvghthhhinhhgshhlrggsrdgtohhmqeenucfkphepledurdeihedrfeeg rdeffeenucfrrghrrghmpehmrghilhhfrhhomhepmhgrrhhmrghrvghksehinhhvihhsih gslhgvthhhihhnghhslhgrsgdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from localhost.localdomain (ip5b412221.dynamic.kabel-deutschland.de [91.65.34.33]) by mail.messagingengine.com (Postfix) with ESMTPA id 8323080061; Thu, 8 Aug 2019 22:01:51 -0400 (EDT) From: =?utf-8?q?Marek_Marczykowski-G=C3=B3recki?= To: xen-devel@lists.xenproject.org Date: Fri, 9 Aug 2019 04:01:37 +0200 Message-Id: <20190809020137.27334-2-marmarek@invisiblethingslab.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190809020137.27334-1-marmarek@invisiblethingslab.com> References: <20190809020137.27334-1-marmarek@invisiblethingslab.com> MIME-Version: 1.0 Organization: Invisible Things Lab Subject: [Xen-devel] [PATCH 2/2] tools/tests/cpu-policy: disable -Wformat-overflow X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Wei Liu , Andrew Cooper , Ian Jackson , =?utf-8?q?Marek_Marczykowski-G?= =?utf-8?q?=C3=B3recki?= , Jan Beulich , =?utf-8?q?Roger_Pau_Monn=C3=A9?= Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP GCC9 complains about "%.12s" format with an argument having exactly 12 bytes and no terminating null character. This is intentional construct, so disable the warning. Signed-off-by: Marek Marczykowski-Górecki --- tools/tests/cpu-policy/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tests/cpu-policy/Makefile b/tools/tests/cpu-policy/Makefile index 07dd58f5c2..7d17a4074d 100644 --- a/tools/tests/cpu-policy/Makefile +++ b/tools/tests/cpu-policy/Makefile @@ -30,7 +30,7 @@ install: all .PHONY: uninstall -CFLAGS += -Werror $(CFLAGS_xeninclude) -D__XEN_TOOLS__ -O3 +CFLAGS += -Werror -Wno-format-overflow $(CFLAGS_xeninclude) -D__XEN_TOOLS__ -O3 CFLAGS += $(APPEND_CFLAGS) vpath %.c ../../../xen/lib/x86