[PATCH 1/2] staging: vc04_services: Fix unportable cast in vchiq_copy_from_user

2016-10-23 Thread mzoran
From: Michael Zoran Signed-off-by: Michael Zoran --- drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] staging: rtl8712: Free memory and return failure when kmalloc fails

2016-10-23 Thread Souptick Joarder
Hi Larry, Greg, On Thu, Oct 20, 2016 at 12:29 PM, Souptick Joarder wrote: > This patch is added to free memory and return failure when kmalloc fails > > Signed-off-by: Souptick joarder > --- > drivers/staging/rtl8712/os_intfs.c | 3 ++- >

Re: [PATCH]: Staging: Greybus: Fix trailing */ in block comments

2016-10-23 Thread Viresh Kumar
On Fri, Oct 21, 2016 at 8:59 PM, Rahul Krishnan wrote: > This patch fixes the following checkpath.pl warning > WARNING: Block comments use a trailing */ on a separate line > > Signed-off-by: Rahul Krishnan > --- >

Re: [PATCH 14/28] iio: accel: sca3000_core: avoid potentially uninitialized variable

2016-10-23 Thread Jonathan Cameron
On 17/10/16 23:13, Arnd Bergmann wrote: > The newly added __sca3000_get_base_freq function handles all valid > modes of the SCA3000_REG_ADDR_MODE register, but gcc notices > that any other value (i.e. 0x00) causes the base_freq variable to > not get initialized: > >

Re: [PATCH] fix coding style

2016-10-23 Thread Alexander Alemayhu
On Sun, Oct 23, 2016 at 05:31:09PM +0800, Jiong Du wrote: > --- > drivers/staging/ks7010/michael_mic.c | 19 +++ > 1 file changed, 11 insertions(+), 8 deletions(-) > Looks like you are missing a topic. You could add 'staging: ks7010:'. Which seems to be used by others when

[PATCH] Staging:board:board: fix implicit declaration of function

2016-10-23 Thread Nadim Almas
implicit declaration of function ‘of_find_all_nodes’ reported by sparse Signed-off-by: Nadim Almas --- drivers/staging/board/board.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/board/board.c b/drivers/staging/board/board.c index 86dc411..6978db5

[PATCH] staging: sm750fb: Fix lock context error

2016-10-23 Thread Alex Briskin
Sparse error fix - different lock contexts for basic block. Acquirement and release of spin lock was dependent on two separate unprotected variable evaluations. Instead the condition evaluation result is stored in a local boolean variable to make sure that the same context that called the

[PATCH] Staging: media: davinci_vpfe: fix indentation issue in vpfe_video.c

2016-10-23 Thread Leo Sperling
This is a patch to the vpfe_video.c file that fixes an indentation warning reported by checkpatch.pl Signed-off-by: Leo Sperling --- drivers/staging/media/davinci_vpfe/vpfe_video.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH] fix coding style

2016-10-23 Thread Jiong Du
--- drivers/staging/ks7010/michael_mic.c | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/drivers/staging/ks7010/michael_mic.c b/drivers/staging/ks7010/michael_mic.c index 78ae2b8..24aaa83 100644 --- a/drivers/staging/ks7010/michael_mic.c +++