[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] ioemu: unmap INTx interrupt on hot-remove



On 27/03/2009 07:29, "Cui, Dexuan" <dexuan.cui@xxxxxxxxx> wrote:

>>  +char mapped_machine_irq[PT_NR_IRQS] = {0};
> My understanding is:
> This does ensure all the elements of the array are 0, no matter the array is
> global or local. Because in C99's  6.7.8 Initialization, we can find

Dexuan is correct. If you specify an incomplete initializer, the unspecified
data values default to zero.

 -- Keir



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.