* [lustre-devel] [PATCH] staging: lustre: libcfs: Fix warnings reported by 'make C=1'
@ 2016-04-11 20:50 Aleksey Fedotov
2016-04-11 22:09 ` Greg Kroah-Hartman
2016-04-11 22:16 ` Drokin, Oleg
0 siblings, 2 replies; 3+ messages in thread
From: Aleksey Fedotov @ 2016-04-11 20:50 UTC (permalink / raw)
To: lustre-devel
A non-text attachment was scrubbed...
Name: 0001-staging-lustre-libcfs-Fix-warnings-reported-by-spars.patch
Type: text/x-patch
Size: 1421 bytes
Desc: not available
URL: <http://lists.lustre.org/pipermail/lustre-devel-lustre.org/attachments/20160411/b1249cfd/attachment.bin>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [lustre-devel] [PATCH] staging: lustre: libcfs: Fix warnings reported by 'make C=1'
2016-04-11 20:50 [lustre-devel] [PATCH] staging: lustre: libcfs: Fix warnings reported by 'make C=1' Aleksey Fedotov
@ 2016-04-11 22:09 ` Greg Kroah-Hartman
2016-04-11 22:16 ` Drokin, Oleg
1 sibling, 0 replies; 3+ messages in thread
From: Greg Kroah-Hartman @ 2016-04-11 22:09 UTC (permalink / raw)
To: lustre-devel
On Mon, Apr 11, 2016 at 11:50:13PM +0300, Aleksey Fedotov wrote:
> >From 08473aa48a1726c09dbab43e99059be9b0e88af2 Mon Sep 17 00:00:00 2001
> From: Aleksei Fedotov <lexa@cfotr.com>
> Date: Mon, 11 Apr 2016 21:13:27 +0300
> Subject: [PATCH] staging: lustre: libcfs: Fix warnings reported by sparse
Why is this here in the body of your patch?
Please use git send-email so it does not show up.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
* [lustre-devel] [PATCH] staging: lustre: libcfs: Fix warnings reported by 'make C=1'
2016-04-11 20:50 [lustre-devel] [PATCH] staging: lustre: libcfs: Fix warnings reported by 'make C=1' Aleksey Fedotov
2016-04-11 22:09 ` Greg Kroah-Hartman
@ 2016-04-11 22:16 ` Drokin, Oleg
1 sibling, 0 replies; 3+ messages in thread
From: Drokin, Oleg @ 2016-04-11 22:16 UTC (permalink / raw)
To: lustre-devel
On Apr 11, 2016, at 4:50 PM, Aleksey Fedotov wrote:
> From 08473aa48a1726c09dbab43e99059be9b0e88af2 Mon Sep 17 00:00:00 2001
> From: Aleksei Fedotov <lexa@cfotr.com>
> Date: Mon, 11 Apr 2016 21:13:27 +0300
> Subject: [PATCH] staging: lustre: libcfs: Fix warnings reported by sparse
A better title would be something like:
staging: lustre: libcfs: Fix libcfs_ioctl() prototype.
Thanks.
>
> This patch fixes sparse warnings:
>
> lustre/lnet/libcfs/linux/linux-module.c:177:35: warning: incorrect type
> in argument 2 (different address spaces)
>
> lustre/lnet/libcfs/module.c:101:5: error: symbol 'libcfs_ioctl'
> redeclared with different type
>
> Signed-off-by: Aleksey Fedotov <lexa@cfotr.com>
> ---
> drivers/staging/lustre/include/linux/libcfs/libcfs.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs.h b/drivers/staging/lustre/include/linux/libcfs/libcfs.h
> index 9158c61..4141afb 100644
> --- a/drivers/staging/lustre/include/linux/libcfs/libcfs.h
> +++ b/drivers/staging/lustre/include/linux/libcfs/libcfs.h
> @@ -106,7 +106,7 @@ int libcfs_deregister_ioctl(struct libcfs_ioctl_handler *hand);
> int libcfs_ioctl_getdata(struct libcfs_ioctl_hdr **hdr_pp,
> const struct libcfs_ioctl_hdr __user *uparam);
> int libcfs_ioctl_data_adjust(struct libcfs_ioctl_data *data);
> -int libcfs_ioctl(unsigned long cmd, void *arg);
> +int libcfs_ioctl(unsigned long cmd, void __user *arg);
>
> /* container_of depends on "likely" which is defined in libcfs_private.h */
> static inline void *__container_of(void *ptr, unsigned long shift)
> --
> 2.5.5
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-04-11 22:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-11 20:50 [lustre-devel] [PATCH] staging: lustre: libcfs: Fix warnings reported by 'make C=1' Aleksey Fedotov
2016-04-11 22:09 ` Greg Kroah-Hartman
2016-04-11 22:16 ` Drokin, Oleg
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.