From patchwork Tue Feb 14 12:30:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Roger_Pau_Monn=C3=A9?= X-Patchwork-Id: 9571829 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 79D1760578 for ; Tue, 14 Feb 2017 12:33:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 68C5228365 for ; Tue, 14 Feb 2017 12:33:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5D68F283F8; Tue, 14 Feb 2017 12:33:26 +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=-4.2 required=2.0 tests=BAYES_00, 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 AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A289628365 for ; Tue, 14 Feb 2017 12:33:25 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cdcGE-0008Fu-PF; Tue, 14 Feb 2017 12:31:10 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cdcGD-0008FN-Up for xen-devel@lists.xenproject.org; Tue, 14 Feb 2017 12:31:10 +0000 Received: from [85.158.137.68] by server-16.bemta-3.messagelabs.com id B1/DA-03637-D88F2A85; Tue, 14 Feb 2017 12:31:09 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprDIsWRWlGSWpSXmKPExsXitHRDpG7Pj0U RBlvX6Ft83zKZyYHR4/CHKywBjFGsmXlJ+RUJrBkHzzsWtHBU9Kyawd7A2MzexcjJISHgL/Ht 0BY2EJtNQEfi4tydQDYHh4iAisTtvQZdjFwczALPmSTeT2hgBqkRFnCWaJo1nQnEZhFQlThxf yJYnFfAUmLHgzMsEDP1JHYd+c0KYnMKWElMXPAIzBYCqnn0/yFUvaDEyZlPwOqZBTQlWrf/Zo ew5SWat85mhqhXlOif94BtAiPfLCQts5C0zELSsoCReRWjRnFqUVlqka6RoV5SUWZ6RkluYma OrqGBsV5uanFxYnpqTmJSsV5yfu4mRmCo1TMwMO5g7Nnrd4hRkoNJSZQ3dtPCCCG+pPyUyozE 4oz4otKc1OJDjDIcHEoSvP7fF0UICRalpqdWpGXmAIMeJi3BwaMkwnvmG1Cat7ggMbc4Mx0id YpRUUqcVxKkTwAkkVGaB9cGi7RLjLJSwryMDAwMQjwFqUW5mSWo8q8YxTkYlYR5xUGm8GTmlc BNfwW0mAloMWvcQpDFJYkIKakGRlZ2OeF1Gk95pIs3iDE84Dc5JDvr47U4mapLZzz3a85Nymy ayquzdvqUzoeHJrQq+ThpJq5J+lzPEvb6vSljhlDMvz0rNaacUHn69HBy+P1tZ5feu9/LecOe rSzuJd+ObKtVcp+W5S9Z8PGF6tPHUxIe7pKRNTm6Uak8ueWHXfbBtIhgj/ilQUosxRmJhlrMR cWJAP7dy3OvAgAA X-Env-Sender: prvs=211416eb8=roger.pau@citrix.com X-Msg-Ref: server-10.tower-31.messagelabs.com!1487075467!84829053!1 X-Originating-IP: [66.165.176.89] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni44OSA9PiAyMDMwMDc=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 9.2.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 41408 invoked from network); 14 Feb 2017 12:31:08 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-10.tower-31.messagelabs.com with RC4-SHA encrypted SMTP; 14 Feb 2017 12:31:08 -0000 X-IronPort-AV: E=Sophos;i="5.35,161,1484006400"; d="scan'208";a="406804924" From: Roger Pau Monne To: Date: Tue, 14 Feb 2017 12:30:56 +0000 Message-ID: <20170214123057.92544-4-roger.pau@citrix.com> X-Mailer: git-send-email 2.10.1 (Apple Git-78) In-Reply-To: <20170214123057.92544-1-roger.pau@citrix.com> References: <20170214123057.92544-1-roger.pau@citrix.com> MIME-Version: 1.0 Cc: Stefano Stabellini , Wei Liu , George Dunlap , Andrew Cooper , Ian Jackson , Tim Deegan , Jan Beulich , Roger Pau Monne Subject: [Xen-devel] [PATCH v4 3/4] build: enable unused value checks for clang X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Roger Pau Monné --- Cc: Andrew Cooper Cc: George Dunlap Cc: Ian Jackson Cc: Jan Beulich Cc: Konrad Rzeszutek Wilk Cc: Stefano Stabellini Cc: Tim Deegan Cc: Wei Liu --- Config.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Config.mk b/Config.mk index 7d08d16..bff4dc5 100644 --- a/Config.mk +++ b/Config.mk @@ -213,8 +213,7 @@ CFLAGS += -std=gnu99 CFLAGS += -Wall -Wstrict-prototypes # Clang complains about macros that expand to 'if ( ( foo == bar ) ) ...' -# and is a bit too fierce about unused return values -CFLAGS-$(clang) += -Wno-parentheses -Wno-unused-value +CFLAGS-$(clang) += -Wno-parentheses $(call cc-option-add,HOSTCFLAGS,HOSTCC,-Wdeclaration-after-statement) $(call cc-option-add,CFLAGS,CC,-Wdeclaration-after-statement)