|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] ioemu: unmap INTx interrupt on hot-remove
On Thu, 26 Mar 2009 16:12:38 +1100
Simon Horman <horms@xxxxxxxxxxxx> wrote:
> > +char mapped_machine_irq[PT_NR_IRQS] = {0};
>
> This only initialises the first element of mapped_machine_irq[] to 0.
Do you have any issue relating to this code?
I think remaining elements are initialized to 0.
Please read the following page.
http://flash-gordon.me.uk/ansi.c.txt (3.5.7 Initialization)
http://www.eskimo.com/~scs/cclass/notes/sx4aa.html
http://stackoverflow.com/questions/201101/how-to-initialize-an-array-in-c
Thanks,
--
Yuji Shimada
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |