From: Wei Liu <wei.liu2@citrix.com>
To: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>,
Wei Liu <wei.liu2@citrix.com>,
Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>,
Jan Beulich <JBeulich@suse.com>,
Xen-devel <xen-devel@lists.xen.org>
Subject: Re: [PATCH] x86/hvm: Fix non-debug build folling c/s 0745f665a5
Date: Mon, 21 Nov 2016 16:41:16 +0000 [thread overview]
Message-ID: <20161121164116.GJ23528@citrix.com> (raw)
In-Reply-To: <023ded7d-0151-7073-11fc-6e855f576a05@oracle.com>
On Mon, Nov 21, 2016 at 11:06:23AM -0500, Boris Ostrovsky wrote:
> On 11/21/2016 10:32 AM, Andrew Cooper wrote:
> > The variable is named inst_len, not insn_len.
> >
> > Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
> > ---
> > CC: Jan Beulich <JBeulich@suse.com>
> > CC: Wei Liu <wei.liu2@citrix.com>
> > CC: Boris Ostrovsky <boris.ostrovsky@oracle.com>
> > CC: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
> >
> > I definitely fixed this once duing development, but it clearly slipped back
> > in. My appologies.
> > ---
> > xen/arch/x86/hvm/svm/emulate.c | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/xen/arch/x86/hvm/svm/emulate.c b/xen/arch/x86/hvm/svm/emulate.c
> > index ca670bf..2b47db9 100644
> > --- a/xen/arch/x86/hvm/svm/emulate.c
> > +++ b/xen/arch/x86/hvm/svm/emulate.c
> > @@ -98,8 +98,8 @@ int __get_instruction_length_from_list(struct vcpu *v,
> > */
> > #ifdef NDEBUG
> > if ( (inst_len = svm_nextrip_insn_length(v)) > MAX_INST_LEN )
> > - gprintk(XENLOG_WARNING, "NRip reported insn_len %lu\n", insn_len);
> > - else if ( insn_len != 0 )
> > + gprintk(XENLOG_WARNING, "NRip reported insn_len %lu\n", inst_len);
>
> Since you are fixing this up anyway, insn_let in format string should
> also be updated.
>
> With that,
> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
prev parent reply other threads:[~2016-11-21 16:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-21 15:32 [PATCH] x86/hvm: Fix non-debug build folling c/s 0745f665a5 Andrew Cooper
2016-11-21 16:06 ` Boris Ostrovsky
2016-11-21 16:41 ` Wei Liu [this message]
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=20161121164116.GJ23528@citrix.com \
--to=wei.liu2@citrix.com \
--cc=JBeulich@suse.com \
--cc=andrew.cooper3@citrix.com \
--cc=boris.ostrovsky@oracle.com \
--cc=suravee.suthikulpanit@amd.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.