All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix build error  in xen
@ 2010-11-22  2:59 Zhang, Yang Z
  0 siblings, 0 replies; only message in thread
From: Zhang, Yang Z @ 2010-11-22  2:59 UTC (permalink / raw)
  To: xen-devel

Fix build error that use uninitialized variable.

Signed-off-by:Yang Zhang <yang.z.zhang@intel.com>

diff -r 117d82dcd6ba xen/common/event_channel.c
--- a/xen/common/event_channel.c        Fri Nov 19 18:55:18 2010 +0000
+++ b/xen/common/event_channel.c        Mon Nov 22 10:52:10 2010 +0800
@@ -326,7 +326,7 @@
     struct domain *d = current->domain;
     struct vcpu   *v = d->vcpu[0];
     int            port, pirq = bind->pirq;
-    long           rc;
+    long           rc = 0;

     if ( (pirq < 0) || (pirq >= d->nr_pirqs) )
         return -EINVAL;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-11-22  2:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-22  2:59 [PATCH] fix build error in xen Zhang, Yang Z

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.