OSDN Git Service
(root)
/
android-x86
/
kernel.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
|
history
diff --git
a/drivers/net/tun.c
b/drivers/net/tun.c
index
a82b32b
..
e6bbc63
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;