net: tun.c fix cast
Subsystems (3)
PATCH 2/2 net: tun.c fix cast
Signed-off-by Harvey Harrison <[email protected]>
---
Appeared between next-20080715->next-20080716
drivers/net/tun.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/tun.c +1 -1
@@ -908,7 +908,7 @@ static int tun_chr_ioctl(struct inode *inode, struct file *file,if ((tun->flags &TUN_TYPE_MASK ) !=TUN_TAP_DEV )return -EINVAL ;rtnl_lock (); - ret =update_filter (&tun->txflt, (void *)__user arg); + ret =update_filter (&tun->txflt, (void __user *)arg);rtnl_unlock ();return ret;
Signature · 1 line
1.5.6.3.499.geae9