Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
arch
/
x86
/
lib
/
usercopy.c
diff --git
a/kernel/arch/x86/lib/usercopy.c
b/kernel/arch/x86/lib/usercopy.c
index
ddf9ecb
..
e342586
100644
(file)
--- a/
kernel/arch/x86/lib/usercopy.c
+++ b/
kernel/arch/x86/lib/usercopy.c
@@
-20,7
+20,7
@@
copy_from_user_nmi(void *to, const void __user *from, unsigned long n)
unsigned long ret;
if (__range_not_ok(from, n, TASK_SIZE))
- return
0
;
+ return
n
;
/*
* Even though this function is typically called from NMI/IRQ context