All of lore.kernel.org
 help / color / mirror / Atom feed
From: Harry Butterworth <harry@hebutterworth.freeserve.co.uk>
To: chris@kneesaa.uk.xensource.com
Cc: David F Barrera <dfbp@us.ibm.com>,
	xen-devel <xen-devel@lists.xensource.com>
Subject: Re: [PATCH] [UNTESTED] Fix sentinel in call to execlp in tools/iommu/vnc.c
Date: Fri, 08 Sep 2006 17:01:56 +0100	[thread overview]
Message-ID: <1157731316.7731.13.camel@localhost.localdomain> (raw)
In-Reply-To: <1156955488.7718.11.camel@localhost.localdomain>

The following code in vnc.c needs to change.  I'm not sure if the patch
below is the way to change it or if it should be changed in
tools/ioemu/patches/vnc-start-vncviewer or in both places.

Why is the code checked in in two places?

It's trivial, please commit a fix or explain exactly what is required
and I'll re-spin the patch.

Harry.

On Wed, 2006-08-30 at 17:31 +0100, Harry Butterworth wrote:
> On Wed, 2006-08-30 at 10:58 -0500, David F Barrera wrote:
> > August 30, 2006, using xen-unstable changeset:
> > 
> > changeset:   11288:a47951e59cbf
> 
> > ISSUES:
> > 
> > x86_64 **BLOCKED (SLES 10 on IBM HS20 Blade 8843)
> > 
> > Unable to start xen on this machine. Build log shows:
> > 
> > /usr/local/autobench/var/tmp/xen/xen-unstable.hg/tools/ioemu/vnc.c:1272: warning: missing sentinel in function call
> > make[3]: *** [vnc.o] Error 1
> > make[2]: *** [subdir-i386-dm] Error 2
> > make[1]: *** [ioemu] Error 2
> > make: *** [all] Error 2
> > ...
> > make[3]: *** [vnc.o] Error 1
> > make[2]: *** [subdir-i386-dm] Error 2
> > make[1]: *** [ioemuinstall] Error 2
> > make: *** [install] Error 2"
> 
> This patch should fix your problem here.  I have not tested it.  Please
> give it a go and report whether it is OK to be committed to the tree.
> 
> The issue is that 0 on a 64 bit machine is a 32 bit integer whereas the
> sentinel needs to be a 64 bit null pointer for the code to be correct.
> 
> Signed-off-by: Harry Butterworth <butterwo@uk.ibm.com>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

      parent reply	other threads:[~2006-09-08 16:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-30 15:58 Daily Xen Builds David F Barrera
2006-08-30 16:31 ` [PATCH] [UNTESTED] Fix sentinel in call to execlp in tools/iommu/vnc.c Harry Butterworth
2006-08-30 18:20   ` David F Barrera
2006-08-31 13:14     ` Harry Butterworth
2006-09-08 16:01   ` Harry Butterworth [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=1157731316.7731.13.camel@localhost.localdomain \
    --to=harry@hebutterworth.freeserve.co.uk \
    --cc=chris@kneesaa.uk.xensource.com \
    --cc=dfbp@us.ibm.com \
    --cc=xen-devel@lists.xensource.com \
    /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.