projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25ac3c2
)
net: tun.c fix cast
author
Harvey Harrison
<harvey.harrison@gmail.com>
Wed, 16 Jul 2008 19:45:34 +0000
(12:45 -0700)
committer
Jeff Garzik
<jgarzik@redhat.com>
Tue, 22 Jul 2008 21:54:17 +0000
(17:54 -0400)
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/tun.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/tun.c
b/drivers/net/tun.c
index a82b32b401319c0749eac671849e2e2792edca1b..e6bbc639c2d0c8428cc28e29692760f549bf50ce 100644
(file)
--- a/
drivers/net/tun.c
+++ b/
drivers/net/tun.c
@@
-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;