Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759957AbYC2DJZ (ORCPT ); Fri, 28 Mar 2008 23:09:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759511AbYC2DIa (ORCPT ); Fri, 28 Mar 2008 23:08:30 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:49854 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759507AbYC2DI3 (ORCPT ); Fri, 28 Mar 2008 23:08:29 -0400 To: torvalds@linux-foundation.org Subject: [PATCH] misc __user misannotations (pointless casts to long) Cc: linux-kernel@vger.kernel.org Message-Id: From: Al Viro Date: Sat, 29 Mar 2008 03:08:28 +0000 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 884 Lines: 28 Signed-off-by: Al Viro --- 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 2221485..3b67da9 100644 --- a/drivers/lguest/lguest_user.c +++ b/drivers/lguest/lguest_user.c @@ -182,7 +182,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 */ -- 1.5.3.GIT -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/