On Tue, 28 Feb 2012, Felipe Balbi wrote: > There's really no point in having hcd->irq as a > signed integer when we consider the fact that > IRQ 0 means NO_IRQ. In order to avoid confusion, > make hcd->irq unsigned and fix users who were > passing -1 as the IRQ number to usb_add_hcd. > > Signed-off-by: Felipe Balbi <balbi@xxxxxx> I haven't tried compiling this to make sure no warnings crop up, but the patch itself is certainly the right thing to do. Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> -- 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