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

Re: [Xen-devel] [PATCH v2 06/21] xen/arm: do not pass dt_host to make_memory_node and make_hypervisor_node



On Tue, 10 Jul 2018, Julien Grall wrote:
> Hi,
> 
> On 09/07/18 22:51, Stefano Stabellini wrote:
> > > I would replace this with a BUG_ON(evtchn != 0).
> > 
> > I agree with the principle, but I think you meant
> > BUG_ON(d->arch.evtchn_irq <= 0) ?
> 
> The IRQ is an unsigned number. So why <= 0?

Ah yes, it should be BUG_ON(d->arch.evtchn_irq == 0).

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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