[PATCH 1/1] Staging: rdma: hfi1: rc.c: Fixed coding style issues

2016-05-22 Thread Shyam Saini
Fixed following checkpatch.pl warnings: Prefer 'unsigned int' to bare use of 'unsigned' Prefer READ_ONCE() over ACCESS_ONCE() Signed-off-by: Shyam Saini --- drivers/staging/rdma/hfi1/rc.c | 12 ++-- drivers/staging/rdma/hfi1/ruc.c | 6 +++--- 2 files changed, 9 insertions(+), 9 del

[PATCH 1/1] Staging: rdma: hfi1: sdma.c: Fixed coding style issues

2016-05-22 Thread Shyam Saini
Fixed following checkpatch.pl warnings: Prefer 'unsigned int' to bare use of 'unsigned' Prefer READ_ONCE() over ACCESS_ONCE() Signed-off-by: Shyam Saini --- drivers/staging/rdma/hfi1/sdma.c | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git

[PATCH] Staging: android: fix coding style warning

2016-05-22 Thread Jaime Arrocha
From: Jaime Arrocha Fixed checkpatch.pl warning about 'line over 80 characters'. Signed-off-by: Jaime Arrocha --- drivers/staging/android/ion/ion.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c i

Re: [PATCH] Staging: android: ion: fixed 2 over 80 character lines in ion.c

2016-05-22 Thread Liam Murphy
Apologies on double email if you received two, bash said there were issues, just wanted to make sure all was good. -- Liam Murphy Web Design, Open Source. l...@lpmdesigns.com On Sun, May 22, 2016, at 04:42 PM, Liam Murphy wrote: > Assuming we wish to keep at 80 characters or less still. >

Re: [PATCH] staging: lustre: llite: kzalloc/copy_to_user to memdup_user

2016-05-22 Thread Tobin Harding
On Sun, May 22, 2016 at 03:25:38PM -0700, Greg Kroah-Hartman wrote: > On Mon, May 23, 2016 at 07:49:29AM +1000, Tobin C Harding wrote: > > kzalloc call followed by copy_to_user can be replaced by call to > > memdup_user. > > > > Signed-off-by: Tobin C Harding > > Why did you send this twice? Be

[PATCH v2] staging: lustre: llite: kzalloc/copy_to_user to memdup_user

2016-05-22 Thread Tobin C Harding
kzalloc call followed by copy_to_user can be replaced by call to memdup_user. Signed-off-by: Tobin C Harding --- drivers/staging/lustre/lustre/llite/dir.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/staging/lustre/lustre/llite/dir.c b/drivers/staging

Re: [PATCH] staging: lustre: llite: kzalloc/copy_to_user to memdup_user

2016-05-22 Thread Greg Kroah-Hartman
On Mon, May 23, 2016 at 07:49:29AM +1000, Tobin C Harding wrote: > kzalloc call followed by copy_to_user can be replaced by call to memdup_user. > > Signed-off-by: Tobin C Harding Why did you send this twice? > --- > drivers/gpu/drm/gma500/gma_display.c | 2 +- > drivers/staging/lustre/l

[PATCH] staging: lustre: llite: kzalloc/copy_to_user to memdup_user

2016-05-22 Thread Tobin C Harding
kzalloc call followed by copy_to_user can be replaced by call to memdup_user. Signed-off-by: Tobin C Harding --- drivers/gpu/drm/gma500/gma_display.c | 2 +- drivers/staging/lustre/lustre/llite/dir.c | 22 +++--- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git

[PATCH] staging: lustre: llite: kzalloc/copy_to_user to memdup_user

2016-05-22 Thread Tobin C Harding
kzalloc call followed by copy_to_user can be replaced by call to memdup_user. Signed-off-by: Tobin C Harding --- drivers/gpu/drm/gma500/gma_display.c | 2 +- drivers/staging/lustre/lustre/llite/dir.c | 22 +++--- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git

[PATCH] Staging: android: modify memory allocation style in ion_cma_heap.c

2016-05-22 Thread Ben Marsh
Modify memory allocation style in ion_cma_heap.c in order to silence a checkpatch.pl warning Signed-off-by: Ben Marsh --- drivers/staging/android/ion/ion_cma_heap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/android/ion/ion_cma_heap.c b/drivers/sta

Re: [PATCH] rtlwifi: Fix scheduling while atomic error from commit 49f86ec21c01

2016-05-22 Thread Larry Finger
On 05/22/2016 12:53 AM, Kalle Valo wrote: Larry Finger writes: Commit 49f86ec21c01 ("rtlwifi: Change long delays to sleeps") was correct for most cases; however, driver rtl8192ce calls the affected routines while in atomic context. The kernel bug output is as follows: BUG: scheduling while at

[PATCH 01/54] MAINTAINERS: Add file patterns for ion device tree bindings

2016-05-22 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Cc: Laura Abbott Cc: Sumit Semwal Cc: de...@driverdev.osuosl.org --- Please apply this patch directly if you want to be involved in device tree binding

Re: [PATCH] Staging: iio: Fix sparse endian warning

2016-05-22 Thread Geert Uytterhoeven
Hi Ksenija, Greg, On Wed, Mar 23, 2016 at 12:06 PM, Ksenija Stanojevic wrote: > Fix following sparse warning: > warning: cast to restricted __be16 Please include line number information so we know which line sparse complains about. > Signed-off-by: Ksenija Stanojevic > --- > drivers/staging/i