xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Ian Jackson <ian.jackson@eu.citrix.com>
To: xen-devel@lists.xensource.com
Cc: Wei Liu <wei.liu2@citrix.com>,
	Ian Jackson <Ian.Jackson@eu.citrix.com>,
	Jan Beulich <JBeulich@suse.com>,
	M A Young <m.a.young@durham.ac.uk>
Subject: [PATCH] tools/xenstore: Add -Wno-bool-operation
Date: Wed, 5 Apr 2017 14:13:55 +0100	[thread overview]
Message-ID: <1491398035-13184-1-git-send-email-ian.jackson@eu.citrix.com> (raw)
In-Reply-To: <22756.60737.242923.259443@mariner.uk.xensource.com>

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 <m.a.young@durham.ac.uk>
CC: Wei Liu <wei.liu2@citrix.com>
CC: Jan Beulich <JBeulich@suse.com>
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
---
 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
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

  reply	other threads:[~2017-04-05 13:13 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-29 15:05 Xen Security Advisory 206 - xenstore denial of service via repeated update Xen.org security team
2017-03-29 22:16 ` Michael Young
2017-03-31 17:00   ` Ian Jackson
2017-04-04 13:30     ` Ian Jackson
2017-04-05  7:44       ` M A Young
2017-04-05 13:12         ` Ian Jackson
2017-04-05 13:13           ` Ian Jackson [this message]
2017-04-05 13:24             ` [PATCH] tools/xenstore: Add -Wno-bool-operation Andrew Cooper
2017-04-05 13:27               ` Ian Jackson
2017-04-05 13:43                 ` Andrew Cooper
2017-04-05 13:48                   ` Andrew Cooper
2017-04-05 13:56                 ` Jan Beulich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1491398035-13184-1-git-send-email-ian.jackson@eu.citrix.com \
    --to=ian.jackson@eu.citrix.com \
    --cc=JBeulich@suse.com \
    --cc=m.a.young@durham.ac.uk \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).