[PATCH] staging/most: fix return value for DIM_GetChannelState

2015-08-09 Thread Tomas Melin
Return NULL instead of 0 for invalid input. Signed-off-by: Tomas Melin --- drivers/staging/most/hdm-dim2/dim2_hal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/most/hdm-dim2/dim2_hal.c b/drivers/staging/most/hdm-dim2/dim2_hal.c index 01b7489..a54cf2c

[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