Commit 18703943 authored by Hugo Camboulive's avatar Hugo Camboulive Committed by Greg Kroah-Hartman

staging: wilc1000: add missing __user attribute

This removes a Sparse warning.
Signed-off-by: default avatarHugo Camboulive <hugo.camboulive@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 75bf22c1
......@@ -89,7 +89,7 @@ static ssize_t wilc_debug_region_read(struct file *file, char __user *userbuf, s
return simple_read_from_buffer(userbuf, count, ppos, buf, res);
}
static ssize_t wilc_debug_region_write(struct file *filp, const char *buf, size_t count, loff_t *ppos)
static ssize_t wilc_debug_region_write(struct file *filp, const char __user *buf, size_t count, loff_t *ppos)
{
char buffer[128] = {};
int flag;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment