Commit 4fe56e80 authored by Al Viro's avatar Al Viro
Browse files

xtensa simdisk: fix braino in "xtensa simdisk: switch to proc_create_data()"


Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 371fdab1
......@@ -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));
......
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