drm/amdgpu: tighten gpu_recover in mailbox_flr to avoid duplicate recover in sriov
[linux-2.6-microblaze.git] / net / sunrpc / sysctl.c
index 8c39364..0bea8ff 100644 (file)
@@ -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))