All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jan Beulich" <JBeulich@suse.com>
To: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
Cc: "Edgar E . Iglesias" <edgar.iglesias@xilinx.com>,
	Tim Deegan <tim@xen.org>,
	Stefano Stabellini <sstabellini@kernel.org>,
	Wei Liu <wei.liu2@citrix.com>,
	George Dunlap <George.Dunlap@eu.citrix.com>,
	Andrew Cooper <andrew.cooper3@citrix.com>,
	Ian Jackson <ian.jackson@eu.citrix.com>,
	xen-devel@lists.xen.org, Julien Grall <julien.grall@arm.com>
Subject: Re: [PATCH v4 03/11] public: xen.h: add definitions for UUID handling
Date: Wed, 23 Aug 2017 02:10:23 -0600	[thread overview]
Message-ID: <599D548F0200007800172565@prv-mh.provo.novell.com> (raw)
In-Reply-To: <8fe8bc1c-83d1-2e25-2eb1-4d2128152f12@epam.com>

>>> On 22.08.17 at 16:37, <volodymyr_babchuk@epam.com> wrote:
> I can't see why you want to map UUID to a certain structure.

This is so that the type cannot mistakenly be passed to a function
taking unsigned char *, or be assigned to a variable of that type.
Please see our TYPE_SAFE() macro which we use to specifically
enclose certain scalar types in a structure to that they won't be
compatible with other types deriving from the same scalar base type.

Jan


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

  reply	other threads:[~2017-08-23  8:10 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-21 20:27 [PATCH v4 00/11] Handle SMCs and HVCs in conformance with SMCCC Volodymyr Babchuk
2017-08-21 20:27 ` [PATCH v4 01/11] arm: traps: use generic register accessors in the PSCI code Volodymyr Babchuk
2017-08-24 14:41   ` Julien Grall
2017-08-21 20:27 ` [PATCH v4 02/11] arm: traps: check if SMC was conditional before handling it Volodymyr Babchuk
2017-08-24 14:42   ` Julien Grall
2017-08-21 20:27 ` [PATCH v4 03/11] public: xen.h: add definitions for UUID handling Volodymyr Babchuk
2017-08-22  7:26   ` Jan Beulich
2017-08-22 14:37     ` Volodymyr Babchuk
2017-08-23  8:10       ` Jan Beulich [this message]
2017-08-23 11:08         ` Volodymyr Babchuk
2017-08-23 11:29           ` Jan Beulich
2017-08-30 16:20             ` Volodymyr Babchuk
2017-08-31  7:34               ` Jan Beulich
2017-08-31 12:24                 ` Volodymyr Babchuk
2017-08-31 12:53                   ` Jan Beulich
2017-08-31 13:21                     ` Volodymyr Babchuk
2017-08-31 14:34                       ` Ian Jackson
2017-08-31 15:12                       ` Jan Beulich
2017-08-21 20:27 ` [PATCH v4 04/11] arm: processor.h: add definition for immediate value mask Volodymyr Babchuk
2017-08-24 14:45   ` Julien Grall
2017-08-21 20:27 ` [PATCH v4 05/11] arm: add SMCCC protocol definitions Volodymyr Babchuk
2017-08-24 15:00   ` Julien Grall
2017-08-28 20:28     ` Volodymyr Babchuk
2017-09-13 10:04       ` Julien Grall
2017-08-21 20:27 ` [PATCH v4 06/11] arm: smccc: handle SMCs according to SMCCC Volodymyr Babchuk
2017-08-24 16:40   ` Julien Grall
2017-08-21 20:27 ` [PATCH v4 07/11] arm: traps: handle PSCI calls inside `vsmc.c` Volodymyr Babchuk
2017-08-24 16:58   ` Julien Grall
2017-08-25 10:56     ` Volodymyr Babchuk
2017-08-25 11:10       ` Julien Grall
2017-08-21 20:27 ` [PATCH v4 08/11] arm: PSCI: use definitions provided by asm/smccc.h Volodymyr Babchuk
2017-08-24 17:22   ` Julien Grall
2017-08-25 11:00     ` Volodymyr Babchuk
2017-08-25 11:13       ` Julien Grall
2017-08-21 20:27 ` [PATCH v4 09/11] arm: vsmc: remove 64 bit mode check in PSCI handler Volodymyr Babchuk
2017-08-21 20:27 ` [PATCH v4 10/11] public: add XENFEAT_ARM_SMCCC_supported feature Volodymyr Babchuk
2017-08-24 17:25   ` Julien Grall
2017-08-31 12:20     ` Sergej Proskurin
2017-08-31 12:44       ` Volodymyr Babchuk
2017-08-31 13:51         ` Sergej Proskurin
2017-08-31 14:58           ` Volodymyr Babchuk
2017-08-31 20:16             ` Sergej Proskurin
2017-09-04  6:07               ` Julien Grall
2017-09-04  9:57                 ` Sergej Proskurin
2017-09-11 11:33                   ` Julien Grall
2017-08-21 20:27 ` [PATCH v4 11/11] arm: enable " Volodymyr Babchuk
2017-08-22  7:29   ` Jan Beulich
2017-08-24 17:23     ` Julien Grall

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=599D548F0200007800172565@prv-mh.provo.novell.com \
    --to=jbeulich@suse.com \
    --cc=George.Dunlap@eu.citrix.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=edgar.iglesias@xilinx.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=julien.grall@arm.com \
    --cc=sstabellini@kernel.org \
    --cc=tim@xen.org \
    --cc=volodymyr_babchuk@epam.com \
    --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.