xtensa simdisk: fix braino in "xtensa simdisk: switch to proc_create_data()"
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 4 May 2013 20:00:50 +0000 (16:00 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 4 May 2013 20:02:42 +0000 (16:02 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/xtensa/platforms/iss/simdisk.c

index 4a06d70ddf5ed84b5f5d136f230f8d9e8029d70b..88608cc11b8cae55169bc06af3a8dd962d4ae0dc 100644 (file)
@@ -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));