* [PATCH]fix undefined name error
@ 2009-07-02 7:39 Zhigang Wang
2009-07-02 8:01 ` Masaki Kanno
0 siblings, 1 reply; 2+ messages in thread
From: Zhigang Wang @ 2009-07-02 7:39 UTC (permalink / raw)
To: xen-devel; +Cc: Masaki Kanno
[-- Attachment #1: Type: text/plain, Size: 168 bytes --]
hi,
this small patch fixes a undefined name error: mac may be referenced before definition.
Signed-off-by: Zhigang Wang <zhigang.x.wang@oracle.com>
thanks,
zhigang
[-- Attachment #2: xen-unstalbe-fix-undefined-mac.patch --]
[-- Type: text/x-patch, Size: 426 bytes --]
--- XendDomainInfo.py 2009-07-01 00:03:09.000000000 +0800
+++ /share/tmp/XendDomainInfo.py 2009-07-02 15:31:43.000000000 +0800
@@ -1227,6 +1227,7 @@
if rm_cfg:
if deviceClass == 'vif':
if self.domid is not None:
+ mac = ''
for dev_num, dev_info in sxprs:
dev_num = int(dev_num)
if dev_num == dev:
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH]fix undefined name error
2009-07-02 7:39 [PATCH]fix undefined name error Zhigang Wang
@ 2009-07-02 8:01 ` Masaki Kanno
0 siblings, 0 replies; 2+ messages in thread
From: Masaki Kanno @ 2009-07-02 8:01 UTC (permalink / raw)
To: Zhigang Wang, xen-devel
Good catch!
Best regards,
Kan
Thu, 02 Jul 2009 15:39:10 +0800, Zhigang Wang wrote:
>hi,
>
>this small patch fixes a undefined name error: mac may be referenced before
> definition.
>
>Signed-off-by: Zhigang Wang <zhigang.x.wang@oracle.com>
>
>thanks,
>
>zhigang
>
>-------------------------------text/plain-------------------------------
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@lists.xensource.com
>http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-02 8:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-02 7:39 [PATCH]fix undefined name error Zhigang Wang
2009-07-02 8:01 ` Masaki Kanno
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.