Re: [PATCH 1/1] staging: lustre/lustre/llite: get rid of incorrect type warning
From: Greg Kroah-Hartman
Date: Wed Jun 10 2015 - 20:48:27 EST
On Mon, Jun 08, 2015 at 04:01:57PM -0700, Tolga Ceylan wrote:
> In dir.c and llite_lib.c, sparse reports multiple warnings messages
> due to different address spaces. This patch resolves these warnings
> by adding the tag __user for username addresses.
>
> Signed-off-by: Tolga Ceylan <tolga.ceylan@xxxxxxxxx>
Are you sure all of these are correct? The kernel/user api for lustre
is a complex beast, and just casting away the pointer types isn't
usually the proper thing to do in order to resolve the issues here.
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/