diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-04 16:00:50 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-04 16:02:42 -0400 |
commit | 4fe56e80825b47083100b2a98843df98fc7d4f07 (patch) | |
tree | 7e1e7cd855b7c2f2b85a6603b54b43f7bebd09b4 /arch | |
parent | 371fdab10033528c42f64fc244c30d67b15e529d (diff) | |
download | linux-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')
-rw-r--r-- | arch/xtensa/platforms/iss/simdisk.c | 2 |
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)); |