OSDN Git Service
(root)
/
linux-kernel-docs
/
linux-2.4.36.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1936f9f
)
[PATCH] USB: unsigned long flags
author
Pete Zaitcev
<zaitcev@redhat.com>
Fri, 4 Aug 2006 23:59:56 +0000
(16:59 -0700)
committer
Willy Tarreau
<w@1wt.eu>
Sat, 5 Aug 2006 11:29:33 +0000
(13:29 +0200)
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 <zaitcev@redhat.com>
drivers/usb/host/usb-ohci.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/usb-ohci.c
b/drivers/usb/host/usb-ohci.c
index
27fc5fe
..
82817f5
100644
(file)
--- a/
drivers/usb/host/usb-ohci.c
+++ b/
drivers/usb/host/usb-ohci.c
@@
-2159,7
+2159,7
@@
static int rh_submit_urb (struct urb * urb)
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) {