On Mon, Aug 29, 2011 at 02:06:21PM +0400, Sergei Shtylyov wrote: > Hello. Hi Sergei, > >- irq = irq_of_parse_and_map(dn, 0); > >+ irq = platform_get_irq(op, 0); > > if (irq == NO_IRQ) { > > No, platform_get_irq() returns -ENXIO on failure. NO_IRQ is > defined as 0 on PPC, IIRC. Thanks for spotting this. It should check < 0. > WBR, Sergei Sebastian -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html