diff options
| author | 2012-06-20 16:24:02 -0700 | |
|---|---|---|
| committer | 2012-06-20 16:24:02 -0700 | |
| commit | ff446f2001cf9b5ed97c6256c4ee3549d3b7abed (patch) | |
| tree | ec5fd60a8b9c21ae85eaa99003f26e6c342e2234 /arch/x86/lib/usercopy.c | |
| parent | USB: ohci-nxp: add usbd and otg clock initialization (diff) | |
| parent | Linux 3.5-rc3 (diff) | |
| download | linux-dev-ff446f2001cf9b5ed97c6256c4ee3549d3b7abed.tar.xz linux-dev-ff446f2001cf9b5ed97c6256c4ee3549d3b7abed.zip | |
Merge 3.5-rc3 into usb-next
This lets us catch the USB fixes that went into 3.5-rc3 into this branch,
as we want them here as well.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86/lib/usercopy.c')
| -rw-r--r-- | arch/x86/lib/usercopy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/lib/usercopy.c b/arch/x86/lib/usercopy.c index 677b1ed184c9..4f74d94c8d97 100644 --- a/arch/x86/lib/usercopy.c +++ b/arch/x86/lib/usercopy.c @@ -22,7 +22,7 @@ copy_from_user_nmi(void *to, const void __user *from, unsigned long n) void *map; int ret; - if (__range_not_ok(from, n, TASK_SIZE) == 0) + if (__range_not_ok(from, n, TASK_SIZE)) return len; do { |
