projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
371fdab
)
xtensa simdisk: fix braino in "xtensa simdisk: switch to proc_create_data()"
author
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 4 May 2013 20:00:50 +0000
(16:00 -0400)
committer
Al 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/xtensa/platforms/iss/simdisk.c
b/arch/xtensa/platforms/iss/simdisk.c
index 4a06d70ddf5ed84b5f5d136f230f8d9e8029d70b..88608cc11b8cae55169bc06af3a8dd962d4ae0dc 100644
(file)
--- 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));