xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Xen-devel <xen-devel@lists.xen.org>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>,
	Ian Campbell <Ian.Campbell@citrix.com>
Subject: [PATCH 1/6] Fix P{RE,OST}_XEN_HVMOP_{READ,WRITE}
Date: Mon, 3 Mar 2014 14:53:19 +0000	[thread overview]
Message-ID: <1393858404-15220-2-git-send-email-andrew.cooper3@citrix.com> (raw)
In-Reply-To: <1393858404-15220-1-git-send-email-andrew.cooper3@citrix.com>

_type should be a type, not a string

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
CC: Ian Campbell <Ian.Campbell@citrix.com>
---
 coregrind/m_syswrap/syswrap-xen.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/coregrind/m_syswrap/syswrap-xen.c b/coregrind/m_syswrap/syswrap-xen.c
index 02205da..9b2c71d 100644
--- a/coregrind/m_syswrap/syswrap-xen.c
+++ b/coregrind/m_syswrap/syswrap-xen.c
@@ -784,7 +784,7 @@ PRE(hvm_op)
                 (Addr)&((_type*)arg)->_field,           \
                 sizeof(((_type*)arg)->_field))
 #define PRE_XEN_HVMOP_READ(_hvm_op, _field)                             \
-   __PRE_XEN_HVMOP_READ(_hvm_op, "xen_hvm_" # _hvm_op "_t", _field)
+   __PRE_XEN_HVMOP_READ(_hvm_op, vki_xen_hvm_ ## _hvm_op ## _t, _field)
 
    switch (op) {
    case VKI_XEN_HVMOP_set_param:
@@ -1324,7 +1324,7 @@ POST(hvm_op)
       POST_MEM_WRITE((Addr)&((_type*)arg)->_field,      \
                      sizeof(((_type*)arg)->_field))
 #define POST_XEN_HVMOP_WRITE(_hvm_op, _field) \
-      __PRE_XEN_HVMOP_READ(_hvm_op, "xen_hvm_" # _hvm_op "_t", _field)
+      __PRE_XEN_HVMOP_READ(_hvm_op, vki_xen_hvm_ ## _hvm_op ## _t, _field)
 
    switch (op) {
    case VKI_XEN_HVMOP_set_param:
-- 
1.7.10.4

  reply	other threads:[~2014-03-03 14:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-03 14:53 [PATCH 0/6] Valgrind: More hypercalls Andrew Cooper
2014-03-03 14:53 ` Andrew Cooper [this message]
2014-03-03 14:53 ` [PATCH 2/6] syswrap: XEN_DOMCTL_settimeoffset Andrew Cooper
2014-03-03 14:53 ` [PATCH 3/6] syswrap: XEN_DOMCTL_cacheflush Andrew Cooper
2014-03-03 14:53 ` [PATCH 4/6] syswrap: XEN_HVMOP_set_isa_irq_level Andrew Cooper
2014-03-03 14:53 ` [PATCH 5/6] syswrap: XEN_HVMOP_set_pci_link_route Andrew Cooper
2014-03-03 14:53 ` [PATCH 6/6] syswrap: XEN_HVMOP_set_mem_type Andrew Cooper
2014-03-14 17:35 ` [PATCH 0/6] Valgrind: More hypercalls Ian Campbell
2014-03-17 15:51   ` [PATCH 7/7] syswrap: XEN_DOMCTL_resumedomain Andrew Cooper
2014-03-18 10:53 ` [PATCH 0/6] Valgrind: More hypercalls Ian Campbell
2014-05-01  8:31   ` Ian Campbell

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=1393858404-15220-2-git-send-email-andrew.cooper3@citrix.com \
    --to=andrew.cooper3@citrix.com \
    --cc=Ian.Campbell@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 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).