All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <ian.campbell@citrix.com>
To: Tim Deegan <tim@xen.org>
Cc: Keir Fraser <keir@xen.org>,
	Ian Jackson <ian.jackson@eu.citrix.com>,
	Wei Liu <wei.liu2@citrix.com>, Jan Beulich <JBeulich@suse.com>,
	xen-devel@lists.xen.org
Subject: Re: [PATCH v2] RFC: Automatically check xen's public headers for C++ pitfalls.
Date: Thu, 12 Mar 2015 10:14:49 +0000	[thread overview]
Message-ID: <1426155289.21353.359.camel@citrix.com> (raw)
In-Reply-To: <20150312100301.GA22158@deinos.phlegethon.org>

On Thu, 2015-03-12 at 11:03 +0100, Tim Deegan wrote:
> At 13:16 +0100 on 05 Mar (1425557777), Tim Deegan wrote:
> > At 11:55 +0000 on 05 Mar (1425552955), Ian Campbell wrote:
> > > On Thu, 2015-03-05 at 11:41 +0000, Jan Beulich wrote:
> > > > >>> On 05.03.15 at 12:35, <ian.campbell@citrix.com> wrote:
> > > > > On Thu, 2015-03-05 at 12:25 +0100, Tim Deegan wrote:
> > > > >> So I've seen four responses in favour of just renaming the field
> > > > >> (Andrew Cooper, Razvan Cojocaru, Don Slutz and David Vrabel) and one
> > > > >> in favour of #ifdeffing it so it's only renamed in C++ (Jan Beulich).
> > > > >> I really don't like adding more #ifdefs to an already hard-to-read
> > > > >> file; I'd rather just rename the field, or else leaving it alone and
> > > > >> letting C++ users carry the fixup in their own code.
> > > > >> 
> > > > >> CC'ing the other "THE REST" maintainers for their opinions.
> > > > > 
> > > > > Rather than ifdefs for C++, don't we need them based on
> > > > > __XEN_INTERFACE_VERSION__?
> > > > 
> > > > That's not applicable to the stuff under public/io/.
> > > 
> > > In which case I'd certainly prefer just changing the name and getting it
> > > over with.
> > > 
> > > mini-os would need checking, since that's (AFAIK) the only intree user
> > > of these headers.
> > 
> > mini-os doesn't in fact use this field; it's a blktap2-ism.
> > Here's a (non-RFC) patch to rename it and update blktap2:
> 
> Ian, Jan, can I get an Ack or Nack on this so I can clear it off my
> plate? :)

Acked-by: Ian Campbell <ian.campbell@citrix.com>

  reply	other threads:[~2015-03-12 10:14 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-26 13:11 [PATCH] RFC: Make xen's public headers a little friendlier for C++ Tim Deegan
2015-02-26 14:09 ` Jan Beulich
2015-02-26 15:22   ` Tim Deegan
2015-02-26 15:39     ` Jan Beulich
2015-02-26 16:11 ` [PATCH v2] RFC: Automatically check xen's public headers for C++ pitfalls Tim Deegan
2015-02-26 16:28   ` Tim Deegan
2015-02-26 16:43     ` Andrew Cooper
2015-02-26 16:47     ` Jan Beulich
2015-02-26 17:01       ` Tim Deegan
2015-02-26 17:49         ` Razvan Cojocaru
2015-02-26 19:22           ` Tim Deegan
2015-02-26 20:31             ` Don Slutz
2015-02-27  8:00         ` Jan Beulich
2015-02-26 16:49     ` David Vrabel
2015-03-05 11:25     ` Tim Deegan
2015-03-05 11:35       ` Ian Campbell
2015-03-05 11:41         ` Jan Beulich
2015-03-05 11:55           ` Ian Campbell
2015-03-05 12:13             ` Wei Liu
2015-03-05 12:34               ` Ian Campbell
2015-03-05 12:16             ` Tim Deegan
2015-03-12 10:03               ` Tim Deegan
2015-03-12 10:14                 ` Ian Campbell [this message]
2015-03-12 11:16                   ` Tim Deegan
2015-03-12 10:57                 ` Jan Beulich
2015-02-26 16:24 ` [PATCH v3] " Tim Deegan
2015-02-26 20:28   ` Don Slutz
2015-02-27 10:05     ` Tim Deegan
2015-02-27  8:36   ` Jan Beulich
2015-02-27  9:22     ` Tim Deegan
2015-02-27  9:34       ` 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=1426155289.21353.359.camel@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=JBeulich@suse.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=keir@xen.org \
    --cc=tim@xen.org \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.