Re: [PATCH] usb: core: hcd: make hcd->irq unsigned

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

 



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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux