mpc5200_wdt: __user annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
9d966d495c
commit
a39f9d028a
|
@ -81,7 +81,7 @@ static int mpc5200_wdt_stop(struct mpc5200_wdt *wdt)
|
||||||
|
|
||||||
|
|
||||||
/* file operations */
|
/* file operations */
|
||||||
static ssize_t mpc5200_wdt_write(struct file *file, const char *data,
|
static ssize_t mpc5200_wdt_write(struct file *file, const char __user *data,
|
||||||
size_t len, loff_t *ppos)
|
size_t len, loff_t *ppos)
|
||||||
{
|
{
|
||||||
struct mpc5200_wdt *wdt = file->private_data;
|
struct mpc5200_wdt *wdt = file->private_data;
|
||||||
|
|
Loading…
Reference in New Issue