[PATCH] staging/lustre: Use proper number of bytes in copy_from_user

2016-11-20 Thread Oleg Drokin
From: Jian Yu This patch removes the usage of MAX_STRING_SIZE from copy_from_user() and just copies enough bytes to cover count passed in. Signed-off-by: Jian Yu Reviewed-on: http://review.whamcloud.com/23462 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8774 Reviewed-by: John L. Hammond

Re: [PATCH]: staging: Greybus: Remove unnecessary braces for single statement block

2016-11-20 Thread Viresh Kumar
On Fri, Nov 18, 2016 at 8:45 PM, Rahul Krishnan wrote: > This patch fixes the following checkpath.pl warning > WARNING: braces {} are not necessary for single statement blocks > > > Signed-off-by: Rahul Krishnan > --- > drivers/staging/greybus/sdio.c | 3 +-- > 1 file changed, 1 insertion(+), 2

[PATCH] staging: rtl8712: Replace blank spaces with tabstops

2016-11-20 Thread Vijai Kumar K
Fix checkpatch warning: WARNING: Statements should start on a tabstop Signed-off-by: Vijai Kumar K --- drivers/staging/rtl8712/rtl8712_led.c | 24 drivers/staging/rtl8712/rtl871x_recv.c | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/st

[PATCH] staging: rtl8712: Fix coding style warnings on Block comments

2016-11-20 Thread Vijai Kumar K
Fixed checkpatch.pl warnings related to Block comments in staging/rtl8712/*.c files. Signed-off-by: Vijai Kumar K --- drivers/staging/rtl8712/rtl871x_ioctl_set.c | 14 ++--- drivers/staging/rtl8712/rtl871x_mlme.c | 30 +-- drivers/staging/rtl8712/rtl871x_pwrctrl.c | 34 +--

[PATCH v3] staging: skein: threefish_block.c Remove blank lines

2016-11-20 Thread Walt Feasel
Make suggested checkpatch modification for CHECK: Please don't use multiple blank lines Acked-by: Jason Cooper --- v3 adds previously missed ack and --to email for Jason v2 makes changes to correct for email format patch submission drivers/staging/skein/threefish_block.c | 16

[PATCH] staging: vt6656: Fix coding style warnings on Block comments

2016-11-20 Thread Vijai Kumar K
Fix checkpatch.pl warnings related to Block comments in staging/vt6656/rf.c file. Signed-off-by: Vijai Kumar K --- drivers/staging/vt6656/rf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/vt6656/rf.c b/drivers/staging/vt6656/rf.c index 8b72479..6101a3

Re: [PATCH v2] staging: skein: threefish_block.c Remove blank lines

2016-11-20 Thread Jason Cooper
Hi Walt, > On Nov 19, 2016, at 11:54, Walt Feasel wrote: > > Make suggested checkpatch modification for > > CHECK: Please don't use multiple blank lines > > Signed-off-by: Walt Feasel I Acked the previous version, so you should place that above your S-o-b when submitting a new version. If n

Re: Possible corrupt file or patch

2016-11-20 Thread Walt Feasel
On Sun, Nov 20, 2016 at 10:50:49AM +0100, Greg KH wrote: > On Sun, Nov 20, 2016 at 01:41:46AM -0500, Walt Feasel wrote: > > I have a few files that look perfectly fine in nano and > > gedit but the patch file that gets made shows the columns > > out of alignment. I have remade them several > > time

Re: Possible corrupt file or patch

2016-11-20 Thread Greg KH
On Sun, Nov 20, 2016 at 01:41:46AM -0500, Walt Feasel wrote: > I have a few files that look perfectly fine in nano and > gedit but the patch file that gets made shows the columns > out of alignment. I have remade them several > times to the same effect. I have also made sure that > there isnt a tab

Re: [PATCH v4] staging: slicoss: fix different address space warnings

2016-11-20 Thread Sergio Paracuellos
On Sat, Nov 19, 2016 at 2:20 PM, Greg KH wrote: > On Fri, Nov 18, 2016 at 06:57:18PM +0100, Sergio Paracuellos wrote: >> Remove incorrect __iomem annotation. >> >> This patch fix the following sparse warnings in slicoss driver: >> warning: incorrect type in assignment (different address spaces) >>