From: Dario Faggioli <dario.faggioli@citrix.com>
To: Oleksandr Andrushchenko <andr2000@gmail.com>,
Stefano Stabellini <sstabellini@kernel.org>
Cc: lars.kurth@citrix.com, vlad.babchuk@gmail.com,
julien.grall@arm.com, andrii.anisov@gmail.com,
olekstysh@gmail.com, al1img@gmail.com, JBeulich@suse.com,
xen-devel@lists.xenproject.org, joculator@gmail.com
Subject: Re: [PATCH 1/2] xen/kbdif: update protocol documentation
Date: Wed, 11 Jan 2017 23:50:04 +0100 [thread overview]
Message-ID: <1484175004.32021.153.camel@citrix.com> (raw)
In-Reply-To: <259345c1-04a9-0a3d-3b67-b71b4941804e@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1442 bytes --]
On Wed, 2017-01-11 at 20:40 +0200, Oleksandr Andrushchenko wrote:
> On 01/11/2017 07:35 PM, Dario Faggioli wrote:
> >
> > It's indeed a repetition, but a good one, IMO: it helps the reader,
> > as
> > she won't have to go back to figure out how big the struct was, how
> > the
> > macro was call and to what value it was defined).
> I am still not convinced that we should put it.
> Probably we can go the way other RFCs do, like TCP [1], 802.11 [2]
> etc:
> those do not define any reserved fields at the bottom of structures,
> (which are effectively padding?) but are limited to only those fields
> which are defined.
>
In principle, I like the idea of following the example of those RFCs.
However, I'd say that what we should value most is consistency within
our own source tree.
But, TBH, there aren't many binary diagram already committed in
include/public/io, so it's hard to tell.
FWIW, I still think that providing a clue to the reader about the size
--even if already specified somewhere else-- would be beneficial, but
it's a rather minor thing, and I certainly can leave with whatever you
and the maintainer(s) agree upon.
Regards,
Dario
--
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
[-- Attachment #2: Type: text/plain, Size: 127 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2017-01-11 22:50 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-06 9:32 [PATCH 0/2] xen/kbdif: add multi-touch support Oleksandr Andrushchenko
2017-01-06 9:32 ` [PATCH 1/2] xen/kbdif: update protocol documentation Oleksandr Andrushchenko
2017-01-06 22:20 ` Stefano Stabellini
2017-01-10 7:21 ` Oleksandr Andrushchenko
2017-01-11 17:35 ` Dario Faggioli
2017-01-11 18:40 ` Oleksandr Andrushchenko
2017-01-11 22:50 ` Dario Faggioli [this message]
2017-01-12 6:36 ` Oleksandr Andrushchenko
2017-01-18 19:41 ` Oleksandr Andrushchenko
2017-01-18 20:28 ` Stefano Stabellini
2017-01-06 9:32 ` [PATCH 2/2] xen/kbdif: add multi-touch support Oleksandr Andrushchenko
2017-01-06 22:37 ` Stefano Stabellini
2017-01-10 7:53 ` Oleksandr Andrushchenko
2017-01-11 0:29 ` Stefano Stabellini
2017-01-11 9:32 ` Oleksandr Andrushchenko
2017-01-19 22:10 ` Stefano Stabellini
2017-01-11 8:01 ` [PATCH 0/2] " Oleksandr Andrushchenko
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=1484175004.32021.153.camel@citrix.com \
--to=dario.faggioli@citrix.com \
--cc=JBeulich@suse.com \
--cc=al1img@gmail.com \
--cc=andr2000@gmail.com \
--cc=andrii.anisov@gmail.com \
--cc=joculator@gmail.com \
--cc=julien.grall@arm.com \
--cc=lars.kurth@citrix.com \
--cc=olekstysh@gmail.com \
--cc=sstabellini@kernel.org \
--cc=vlad.babchuk@gmail.com \
--cc=xen-devel@lists.xenproject.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 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).