All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wei Huang <wei.huang2@amd.com>
To: xen-devel@lists.xensource.com, Ian Jackson <Ian.Jackson@eu.citrix.com>
Subject: [PATCH] xl: fix compilation warning on libxl.c
Date: Fri, 17 Dec 2010 15:42:38 -0600	[thread overview]
Message-ID: <4D0BD94E.2050909@amd.com> (raw)
In-Reply-To: <19723.41436.419700.193126@mariner.uk.xensource.com>

[-- Attachment #1: Type: text/plain, Size: 212 bytes --]

This patch fixes a compilation warning (uninitialized parameter before 
use) on libxl.c. Xen failed to compile without it. The warning was 
reported on gcc 4.1.2.

Signed-off-by: Wei Huang <wei.huang2@amd.com>



[-- Attachment #2: libxl_compilation_warning_patch.txt --]
[-- Type: text/plain, Size: 366 bytes --]

diff -r ff1b80ccecd9 tools/libxl/libxl.c
--- a/tools/libxl/libxl.c	Fri Dec 17 16:12:37 2010 +0000
+++ b/tools/libxl/libxl.c	Fri Dec 17 15:40:35 2010 -0600
@@ -1256,7 +1256,7 @@
     int num = 0, i;
     flexarray_t *dm_args;
     int nb;
-    libxl_device_disk *disks;
+    libxl_device_disk *disks = NULL;
 
     dm_args = flexarray_make(16, 1);
     if (!dm_args)

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

  parent reply	other threads:[~2010-12-17 21:42 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-09 12:39 [PATCH 0 of 5] support of NUMA topology in xl Juergen Gross
2010-12-09 12:39 ` [PATCH 1 of 5] Support getting topology info in libxl Juergen Gross
2010-12-09 13:11   ` Gianni Tedesco
2010-12-09 13:19     ` Juergen Gross
2010-12-10 17:30       ` Ian Jackson
2010-12-09 12:39 ` [PATCH 2 of 5] support topolgy info in xl info Juergen Gross
2010-12-09 12:39 ` [PATCH 3 of 5] Extend cpupools to support numa Juergen Gross
2010-12-09 12:39 ` [PATCH 4 of 5] Support renaming of cpupools Juergen Gross
2010-12-09 12:39 ` [PATCH 5 of 5] Support new xl command cpupool-numa-split Juergen Gross
2010-12-17  6:09 ` [PATCH 0 of 5] support of NUMA topology in xl Juergen Gross
2010-12-17 17:46   ` Ian Jackson
2010-12-17 17:50     ` Keir Fraser
2010-12-17 21:42     ` Wei Huang [this message]
2010-12-23  2:08       ` [PATCH] fix build error in libxl Zhang, Yang Z
2011-01-03 13:40         ` Christoph Egger
2011-01-05 23:39           ` [PATCH] xl: fix compilation warning on libxl.c [and 2 more messages] Ian Jackson

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=4D0BD94E.2050909@amd.com \
    --to=wei.huang2@amd.com \
    --cc=Ian.Jackson@eu.citrix.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.