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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user