projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/amdgpu: tighten gpu_recover in mailbox_flr to avoid duplicate recover in sriov
[linux-2.6-microblaze.git]
/
net
/
sunrpc
/
sysctl.c
diff --git
a/net/sunrpc/sysctl.c
b/net/sunrpc/sysctl.c
index
8c39364
..
0bea8ff
100644
(file)
--- a/
net/sunrpc/sysctl.c
+++ b/
net/sunrpc/sysctl.c
@@
-89,7
+89,7
@@
proc_dodebug(struct ctl_table *table, int write,
left = *lenp;
if (write) {
- if (!access_ok(
VERIFY_READ,
buffer, left))
+ if (!access_ok(buffer, left))
return -EFAULT;
p = buffer;
while (left && __get_user(c, p) >= 0 && isspace(c))