After a similar problem surfaced in usbserial, I looked across the code base
and found this instance. The bug is obvious: local_irq_save takes a long,
not int.
Signed-Off-By: Pete Zaitcev <[EMAIL PROTECTED]>
--- linux-2.4.33-rc3/drivers/usb/host/usb-ohci.c 2005-12-22
13:19:11.000000000 -0800
+++ linux-2.4.33-rc3-u/drivers/usb/host/usb-ohci.c 2006-08-04
14:35:15.000000000 -0700
@@ -2159,7 +2159,7 @@ static int rh_submit_urb (struct urb * u
static int rh_unlink_urb (struct urb * urb)
{
ohci_t * ohci = urb->dev->bus->hcpriv;
- unsigned int flags;
+ unsigned long flags;
spin_lock_irqsave(&ohci->ohci_lock, flags);
if (ohci->rh.urb == urb) {
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel