[prev in list] [next in list] [prev in thread] [next in thread] 

List:       git-commits-head
Subject:    misc __user misannotations (pointless casts to long)
From:       Linux Kernel Mailing List <linux-kernel () vger ! kernel ! org>
Date:       2008-03-30 22:59:51
Message-ID: 200803302259.m2UMxpsx013740 () hera ! kernel ! org
[Download RAW message or body]

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=74dbf719ed3c49687dab507967ebab9189e91ab0
Commit:     74dbf719ed3c49687dab507967ebab9189e91ab0
Parent:     53a0c98e117272125183138aefc6b13b4a5f38a1
Author:     Al Viro <viro@ftp.linux.org.uk>
AuthorDate: Sat Mar 29 03:08:28 2008 +0000
Committer:  Linus Torvalds <torvalds@linux-foundation.org>
CommitDate: Sun Mar 30 14:20:23 2008 -0700

    misc __user misannotations (pointless casts to long)
    
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
---
 drivers/lguest/lguest_user.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/lguest/lguest_user.c b/drivers/lguest/lguest_user.c
index 564e425..645e6e0 100644
--- a/drivers/lguest/lguest_user.c
+++ b/drivers/lguest/lguest_user.c
@@ -189,7 +189,7 @@ static int initialize(struct file *file, const unsigned long __user *input)
 	}
 
 	/* Populate the easy fields of our "struct lguest" */
-	lg->mem_base = (void __user *)(long)args[0];
+	lg->mem_base = (void __user *)args[0];
 	lg->pfn_limit = args[1];
 
 	/* This is the first cpu (cpu 0) and it will start booting at args[3] */
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic