projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove 'type' argument from access_ok() function
[linux-block.git]
/
net
/
batman-adv
/
log.c
diff --git
a/net/batman-adv/log.c
b/net/batman-adv/log.c
index 02e55b78132f018f01200a228d080403f54fa444..75f602e1ce94ecf3b2aa570939bd4444185b3ce2 100644
(file)
--- a/
net/batman-adv/log.c
+++ b/
net/batman-adv/log.c
@@
-136,7
+136,7
@@
static ssize_t batadv_log_read(struct file *file, char __user *buf,
if (count == 0)
return 0;
- if (!access_ok(
VERIFY_WRITE,
buf, count))
+ if (!access_ok(buf, count))
return -EFAULT;
error = wait_event_interruptible(debug_log->queue_wait,