From: Li Hong Date: Wed, 31 Mar 2010 07:41:00 +0000 (+0800) Subject: nilfs2: fix a wrong type conversion in nilfs_ioctl() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=753234007f4ac2c96921cfb19ec1ba535ac29790;p=openwrt%2Fstaging%2Fblogic.git nilfs2: fix a wrong type conversion in nilfs_ioctl() (void * __user *) should be (void __user *) Signed-off-by: Li Hong Signed-off-by: Ryusuke Konishi --- diff --git a/fs/nilfs2/ioctl.c b/fs/nilfs2/ioctl.c index 313d0a21da48..c446017141d8 100644 --- a/fs/nilfs2/ioctl.c +++ b/fs/nilfs2/ioctl.c @@ -648,7 +648,7 @@ static int nilfs_ioctl_get_info(struct inode *inode, struct file *filp, long nilfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) { struct inode *inode = filp->f_dentry->d_inode; - void __user *argp = (void * __user *)arg; + void __user *argp = (void __user *)arg; switch (cmd) { case NILFS_IOCTL_CHANGE_CPMODE: