From patchwork Wed Apr 5 13:13:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Jackson X-Patchwork-Id: 9663975 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 840FE602B8 for ; Wed, 5 Apr 2017 13:16:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6F0921FEBD for ; Wed, 5 Apr 2017 13:16:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 63EC7200F5; Wed, 5 Apr 2017 13:16:11 +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 92FF21FEBD for ; Wed, 5 Apr 2017 13:16:10 +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 1cvklF-00018F-Pe; Wed, 05 Apr 2017 13:14:09 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cvklE-000182-TR for xen-devel@lists.xensource.com; Wed, 05 Apr 2017 13:14:09 +0000 Received: from [193.109.254.147] by server-7.bemta-6.messagelabs.com id 51/21-04817-0ADE4E85; Wed, 05 Apr 2017 13:14:08 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrGIsWRWlGSWpSXmKPExsXitHSDve78t08 iDPZv1rK4N+U9uwOjx/a+XewBjFGsmXlJ+RUJrBlTe76zF7xir+je8ZetgfECWxcjJ4eEgL/E 6Tk9ULaHxPWzJ5hAbDYBXYmmLX/B4iICyhLHm76wdjFycTAL7GKUOHHoAHsXIweHsICFxKR74 SA1LAIqEg2TVjOChHkFPCU+PcuAGCkncf74T2YQm1PAUeLmgr1gI4UEHCRe7X3KClIuJKAmMX d9PEiYV0BQ4uTMJywgNrOAhMTBFy+YIcZYSnxb/5R5AiP/LCRls5CULWBkWsWoXpxaVJZapGu sl1SUmZ5RkpuYmaNraGCml5taXJyYnpqTmFSsl5yfu4kRGGYMQLCDseOf0yFGSQ4mJVFeBZ8n EUJ8SfkplRmJxRnxRaU5qcWHGGU4OJQkeHvfAOUEi1LTUyvSMnOAAQ+TluDgURLhZQNJ8xYXJ OYWZ6ZDpE4x6nLMmb37DZMQS15+XqqUOO9LkCIBkKKM0jy4EbDou8QoKyXMywh0lBBPQWpRbm YJqvwrRnEORiVh3u0gU3gy80rgNr0COoIJ6Igndx6CHFGSiJCSamBsTpqn99hq40vRvUvshFd u2VQle/RNyctFJQY/Qpd0sHOVL+kwDhFboVsUq3Hp7EnbH7NyVgcofl0u82uZwp9z1vFXpn94 LK257YrtbTvlphzBRRlHko5PO3TwuJH2nOLJx1Qrug+9vKhaXzFDb3/U6eNiW86Xvfvae/TRP 2+dFQbP3hhvq9jopcRSnJFoqMVcVJwIAHyPKvW5AgAA X-Env-Sender: prvs=2613f11ac=Ian.Jackson@citrix.com X-Msg-Ref: server-2.tower-27.messagelabs.com!1491398045!43327961!1 X-Originating-IP: [66.165.176.63] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni42MyA9PiAzMDYwNDg=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 9.4.12; banners=-,-,- X-VirusChecked: Checked Received: (qmail 24498 invoked from network); 5 Apr 2017 13:14:07 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-2.tower-27.messagelabs.com with RC4-SHA encrypted SMTP; 5 Apr 2017 13:14:07 -0000 X-IronPort-AV: E=Sophos;i="5.36,278,1486425600"; d="scan'208";a="426315422" X-CrossPremisesHeadersFilteredBySendConnector: FTLPEX02AMS01.citrite.net From: Ian Jackson To: Date: Wed, 5 Apr 2017 14:13:55 +0100 Message-ID: <1491398035-13184-1-git-send-email-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <22756.60737.242923.259443@mariner.uk.xensource.com> References: <22756.60737.242923.259443@mariner.uk.xensource.com> MIME-Version: 1.0 X-OrganizationHeadersPreserved: FTLPEX02AMS01.citrite.net Cc: Wei Liu , Ian Jackson , Jan Beulich , M A Young Subject: [Xen-devel] [PATCH] tools/xenstore: Add -Wno-bool-operation 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 This suppresses a warning from GCC7 xenstored_domain.c:949:32: error: increment of a boolean expression We have not yet 100% concluded that this should not be fixed by changing the `_Bool b; b++;' to `b = 1'. But this fixes the warning and thus the build for now, and we want to apply the XSA-206 patches to stable trees. In the stable trees, this should be applied _before_ the XSA-206 series. Reported-by: Michael Young CC: Wei Liu CC: Jan Beulich Signed-off-by: Ian Jackson --- tools/xenstore/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/xenstore/Makefile b/tools/xenstore/Makefile index 773d646..3b0ff16 100644 --- a/tools/xenstore/Makefile +++ b/tools/xenstore/Makefile @@ -5,6 +5,7 @@ MAJOR = 3.0 MINOR = 3 CFLAGS += -Werror +CFLAGS += -Wno-bool-operation CFLAGS += -I. # Include configure output (config.h) CFLAGS += -include $(XEN_ROOT)/tools/config.h