Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1162956 > unrolled thread

Re: [PATCH 1/1] staging: lustre/lustre/llite: get rid of incorrect type warning

Started byGreg Kroah-Hartman <gregkh@linuxfoundation.org>
First post2015-06-11 02:50 +0200
Last post2015-06-11 02:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 1/1] staging: lustre/lustre/llite: get rid of incorrect  type warning Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-06-11 02:50 +0200

#1162956 — Re: [PATCH 1/1] staging: lustre/lustre/llite: get rid of incorrect type warning

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2015-06-11 02:50 +0200
SubjectRe: [PATCH 1/1] staging: lustre/lustre/llite: get rid of incorrect type warning
Message-ID<pzYQW-6ff-9@gated-at.bofh.it>
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@gmail.com>

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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web