xtensa simdisk: fix braino in "xtensa simdisk: switch to proc_create_data()"
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
371fdab100
commit
4fe56e8082
|
@ -231,7 +231,7 @@ static ssize_t proc_read_simdisk(struct file *file, char __user *buf,
|
|||
}
|
||||
|
||||
static ssize_t proc_write_simdisk(struct file *file, const char __user *buf,
|
||||
size_t size, loff_t *ppos)
|
||||
size_t count, loff_t *ppos)
|
||||
{
|
||||
char *tmp = kmalloc(count + 1, GFP_KERNEL);
|
||||
struct simdisk *dev = PDE_DATA(file_inode(file));
|
||||
|
|
Loading…
Reference in New Issue