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

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



Simon Horman writes ("Re: [Xen-devel] [PATCH] ioemu: unmap INTx interrupt on 
hot-remove"):
> On Fri, Mar 13, 2009 at 01:59:24PM +0900, Yuji Shimada wrote:
> > +char mapped_machine_irq[PT_NR_IRQS] = {0};
> 
> This only initialises the first element of mapped_machine_irq[] to 0.

Statically allocated objects (that is, ones in the data and code
segments rather than on the stack) are initialised to 0 by the system
anyway.  But I agree that it's an unusual style.

Ian.

_______________________________________________
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®.