Re: [PATCH 11/14] xen: events: dynamically allocate irq infostructures

From: Konrad Rzeszutek Wilk
Date: Thu Mar 10 2011 - 00:29:34 EST


> @@ -649,10 +653,9 @@ int xen_bind_pirq_gsi_to_irq(unsigned gsi,
>
> spin_lock(&irq_mapping_update_lock);
>
> - if ((pirq > nr_irqs) || (gsi > nr_irqs)) {
> - printk(KERN_WARNING "xen_map_pirq_gsi: %s %s is incorrect!\n",
> - pirq > nr_irqs ? "pirq" :"",
> - gsi > nr_irqs ? "gsi" : "");
> + if (pirq > nr_irqs) {
> + printk(KERN_WARNING "xen_map_pirq_gsi: pirq %d > nr_irqs %d!\n",
> + pirq, nr_irqs);

Looks like this belongs to another patch?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/