Re: [PATCH] staging/lustre: add annotations for user space pointers

2015-08-10 Thread Dan Carpenter
On Sat, Aug 08, 2015 at 02:31:40PM -0700, Greg KH wrote: > > int libcfs_register_ioctl(struct libcfs_ioctl_handler *hand); > > int libcfs_deregister_ioctl(struct libcfs_ioctl_handler *hand); > > -int libcfs_ioctl_getdata(char *buf, char *end, void *arg); > > -int libcfs_ioctl_popdata(void *arg, v

Re: [PATCH] staging/lustre: add annotations for user space pointers

2015-08-08 Thread Greg KH
On Sat, Aug 08, 2015 at 11:42:16PM +0300, Tomas Melin wrote: > user space input pointers need correct annotations. > > Signed-off-by: Tomas Melin > --- > drivers/staging/lustre/include/linux/libcfs/libcfs_ioctl.h | 4 ++-- > drivers/staging/lustre/lustre/libcfs/linux/linux-module.c | 6 +++--- >

[PATCH] staging/lustre: add annotations for user space pointers

2015-08-08 Thread Tomas Melin
user space input pointers need correct annotations. Signed-off-by: Tomas Melin --- drivers/staging/lustre/include/linux/libcfs/libcfs_ioctl.h | 4 ++-- drivers/staging/lustre/lustre/libcfs/linux/linux-module.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/st