summaryrefslogtreecommitdiff
path: root/arch/xtensa
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-05-04 16:00:50 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-05-04 16:02:42 -0400
commit4fe56e80825b47083100b2a98843df98fc7d4f07 (patch)
tree7e1e7cd855b7c2f2b85a6603b54b43f7bebd09b4 /arch/xtensa
parent371fdab10033528c42f64fc244c30d67b15e529d (diff)
downloadlinux-3.10-4fe56e80825b47083100b2a98843df98fc7d4f07.tar.gz
linux-3.10-4fe56e80825b47083100b2a98843df98fc7d4f07.tar.bz2
linux-3.10-4fe56e80825b47083100b2a98843df98fc7d4f07.zip
xtensa simdisk: fix braino in "xtensa simdisk: switch to proc_create_data()"
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/xtensa')
-rw-r--r--arch/xtensa/platforms/iss/simdisk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/platforms/iss/simdisk.c b/arch/xtensa/platforms/iss/simdisk.c
index 4a06d70ddf5..88608cc11b8 100644
--- a/arch/xtensa/platforms/iss/simdisk.c
+++ b/arch/xtensa/platforms/iss/simdisk.c
@@ -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));