Commit 872b2a59 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] USB: sparse fixups for drivers/usb/core/inode.c

parent d60c835a
...@@ -282,13 +282,13 @@ static int usbfs_rmdir(struct inode *dir, struct dentry *dentry) ...@@ -282,13 +282,13 @@ static int usbfs_rmdir(struct inode *dir, struct dentry *dentry)
/* default file operations */ /* default file operations */
static ssize_t default_read_file (struct file *file, char *buf, static ssize_t default_read_file (struct file *file, char __user *buf,
size_t count, loff_t *ppos) size_t count, loff_t *ppos)
{ {
return 0; return 0;
} }
static ssize_t default_write_file (struct file *file, const char *buf, static ssize_t default_write_file (struct file *file, const char __user *buf,
size_t count, loff_t *ppos) size_t count, loff_t *ppos)
{ {
return count; return count;
......
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