linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/2] net: tun.c fix cast
@ 2008-07-16 19:45 Harvey Harrison
  0 siblings, 0 replies; only message in thread
From: Harvey Harrison @ 2008-07-16 19:45 UTC (permalink / raw)
  To: David Miller, rusty@rustcorp.com.au; +Cc: linux-next, linux-net

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
Appeared between next-20080715->next-20080716

 drivers/net/tun.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/tun.c b/drivers/net/tun.c
index d1fa746..2b0ae61 100644
--- a/drivers/net/tun.c
+++ b/drivers/net/tun.c
@@ -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;
 
-- 
1.5.6.3.499.geae9


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-16 19:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-16 19:45 [PATCH 2/2] net: tun.c fix cast Harvey Harrison

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).