提交 4fe56e80 编写于 作者: A Al Viro

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

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册