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-Tag: v2.6.34-rc4~8^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=753234007f4ac2c96921cfb19ec1ba535ac29790;p=platform%2Fkernel%2Flinux-3.10.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 313d0a2..c446017 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: