Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1162956
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/1] staging: lustre/lustre/llite: get rid of incorrect type warning |
| Date | 2015-06-11 02:50 +0200 |
| Message-ID | <pzYQW-6ff-9@gated-at.bofh.it> (permalink) |
| References | <pzel5-4XM-33@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
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
csiph-web