diff options
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/core/devio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c index c85e29381a88..26fece124e0e 100644 --- a/drivers/usb/core/devio.c +++ b/drivers/usb/core/devio.c | |||
@@ -1317,7 +1317,7 @@ static int get_urb32(struct usbdevfs_urb *kurb, | |||
1317 | if (__get_user(uptr, &uurb->buffer)) | 1317 | if (__get_user(uptr, &uurb->buffer)) |
1318 | return -EFAULT; | 1318 | return -EFAULT; |
1319 | kurb->buffer = compat_ptr(uptr); | 1319 | kurb->buffer = compat_ptr(uptr); |
1320 | if (__get_user(uptr, &uurb->buffer)) | 1320 | if (__get_user(uptr, &uurb->usercontext)) |
1321 | return -EFAULT; | 1321 | return -EFAULT; |
1322 | kurb->usercontext = compat_ptr(uptr); | 1322 | kurb->usercontext = compat_ptr(uptr); |
1323 | 1323 | ||