* [PATCH] staging: lustre: libcfs: Fix libcfs_ioctl() prototype.
@ 2016-04-12 11:05 Aleksei Fedotov
2016-04-12 17:17 ` James Simmons
0 siblings, 1 reply; 2+ messages in thread
From: Aleksei Fedotov @ 2016-04-12 11:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, devel, Oleg Drokin, Andreas Dilger, James Simmons
Cc: Linux Kernel Mailing List, Lustre Development List, Aleksei Fedotov
Fix libcfs_ioctl() prototype according to its definition in
libcfs/module.c.
Signed-off-by: Aleksei 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] 2+ messages in thread
* Re: [PATCH] staging: lustre: libcfs: Fix libcfs_ioctl() prototype.
2016-04-12 11:05 [PATCH] staging: lustre: libcfs: Fix libcfs_ioctl() prototype Aleksei Fedotov
@ 2016-04-12 17:17 ` James Simmons
0 siblings, 0 replies; 2+ messages in thread
From: James Simmons @ 2016-04-12 17:17 UTC (permalink / raw)
To: Aleksei Fedotov
Cc: Greg Kroah-Hartman, devel, Oleg Drokin, Andreas Dilger,
Linux Kernel Mailing List, Lustre Development List
> Fix libcfs_ioctl() prototype according to its definition in
> libcfs/module.c.
>
> Signed-off-by: Aleksei Fedotov <lexa@cfotr.com>
Acked-by: James Simmons <jsimmons@infradead.org>
> ---
> 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] 2+ messages in thread
end of thread, other threads:[~2016-04-12 17:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-12 11:05 [PATCH] staging: lustre: libcfs: Fix libcfs_ioctl() prototype Aleksei Fedotov
2016-04-12 17:17 ` James Simmons
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®