projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2caf7fc
)
USB: fix minor nit in usbfs checking
author
Mark Lord
<lkml@rtr.ca>
Fri, 2 Jan 2009 07:48:24 +0000
(
02:48
-0500)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 7 Jan 2009 18:00:13 +0000
(10:00 -0800)
One minor nit did show up, though. The patch below
seems to make more sense than the code does without it.
Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/devio.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/core/devio.c
b/drivers/usb/core/devio.c
index c85e29381a8842c691a4cd2bf5c1579aed9c5f1a..26fece124e0e7b848874f6469148fda8a27c732c 100644
(file)
--- a/
drivers/usb/core/devio.c
+++ b/
drivers/usb/core/devio.c
@@
-1317,7
+1317,7
@@
static int get_urb32(struct usbdevfs_urb *kurb,
if (__get_user(uptr, &uurb->buffer))
return -EFAULT;
kurb->buffer = compat_ptr(uptr);
- if (__get_user(uptr, &uurb->
buffer
))
+ if (__get_user(uptr, &uurb->
usercontext
))
return -EFAULT;
kurb->usercontext = compat_ptr(uptr);