Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c0e5a8c2 authored by Harvey Harrison's avatar Harvey Harrison Committed by Jeff Garzik
Browse files

net: tun.c fix cast

parent 25ac3c24
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -900,7 +900,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;