|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] fix build error in xen
Fix build error that use uninitialized variable.
Signed-off-by:Yang Zhang <yang.z.zhang@xxxxxxxxx>
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;
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] fix build error in xen,
Zhang, Yang Z <=
|
|
|
|
|