Re: [PATCH] staging: media: lirc: fix coding style error

2015-06-19 Thread Dan Carpenter
On Wed, Jun 17, 2015 at 06:01:32PM +0530, Sunil Shahu wrote: > Fix code indentation error by replacing tab in place of spaces. > > Signed-off-by: Sunil Shahu > --- > drivers/staging/media/lirc/lirc_sasem.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/

[PATCH] drivers: staging: rtl8712: remove unnecessory else statement

2015-06-19 Thread Sunil Shahu
"else" statement after "if" is unnecessory, hence removed. Signed-off-by: Sunil Shahu --- drivers/staging/rtl8712/rtl871x_security.c | 35 ++ 1 file changed, 16 insertions(+), 19 deletions(-) diff --git a/drivers/staging/rtl8712/rtl871x_security.c b/drivers/staging/

[PATCH] staging: media: lirc: fix coding style error

2015-06-19 Thread Sunil Shahu
Fix code indentation error by replacing tab in place of spaces. Signed-off-by: Sunil Shahu --- drivers/staging/media/lirc/lirc_sasem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/lirc/lirc_sasem.c b/drivers/staging/media/lirc/lirc_sasem.c index 8ebe

[PATCH] staging: media: lirc: fix coding style error

2015-06-19 Thread Sunil Shahu
Fix code indentation error by replacing tab in place of spaces. Signed-off-by: Sunil Shahu --- drivers/staging/media/lirc/lirc_sasem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/lirc/lirc_sasem.c b/drivers/staging/media/lirc/lirc_sasem.c index 8ebe

Re: doubt about sm7xxfb (was: Re: [PATCH v4 0/7] staging: fsl-mc: New functionality to the MC bus driver)

2015-06-19 Thread Dan Carpenter
On Sat, Jun 13, 2015 at 02:16:18PM +0530, Sudip Mukherjee wrote: > > can you please have a look (when you are free) at it to see if anything > else needs to be done. Remove any unused macros. Cleanup indenting in the .h file. drivers/staging/sm7xxfb/sm7xxfb.c:821 smtcfb_pci_probe() warn: 'smtc_re

Re: [PATCH v2 2/3] staging: unisys: convert pack pragma to __packed

2015-06-19 Thread Dan Carpenter
On Fri, Jun 12, 2015 at 04:46:07PM -0400, David Kershner wrote: > It was noticed that iochannel.h was still using pragmas to > pack the datastructures, should be using __packed instead. > > Signed-off-by: David Kershner Could you take some time and figure out which structs should actually be pac

Re: [PATCH v2 09/17] staging/lirc_serial: Remove TSC-based timing

2015-06-19 Thread Dan Carpenter
This one should go to Mauro and linux-me...@vger.kernel.org instead of Greg and de...@driverdev.osuosl.org. regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-dev

[PATCH] drivers: staging: rtl8712: remove unnecessary else statement

2015-06-19 Thread Sunil Shahu
"else" statement after "if" is unnecessary, hence removed. Signed-off-by: Sunil Shahu --- drivers/staging/rtl8712/rtl871x_security.c | 35 ++ 1 file changed, 16 insertions(+), 19 deletions(-) diff --git a/drivers/staging/rtl8712/rtl871x_security.c b/drivers/staging/

Re: [PATCH] staging: media: lirc: fix coding style error

2015-06-19 Thread Sudip Mukherjee
On Fri, Jun 19, 2015 at 02:22:02PM +0530, Sunil Shahu wrote: > Fix code indentation error by replacing tab in place of spaces. > > Signed-off-by: Sunil Shahu when you are sending a modified patch, please mark it as [PATCH v2] otherwise it becomes confusing. regards sudip

Re: [PATCH 3/6] Staging: comedi: daqboard2000: Simplify a trivial if-return sequence

2015-06-19 Thread Sudip Mukherjee
On Fri, Jun 19, 2015 at 06:00:06AM +, Abdul, Hussain (H.) wrote: > From: Abdul Hussain > > This patch simplify a trivial if-return sequence. Possibly combine with > a preceding function call. > > Signed-off-by: Abdul Hussain > --- > - return 0; > + return subdev_8255_init(dev, s, d

Re: [PATCH 7/7] Staging: rts5208: helper function to manage delink states

2015-06-19 Thread Dan Carpenter
On Sun, Jun 14, 2015 at 03:48:53PM +0200, Fabio Falzoi wrote: > Use a helper function to manage delink states > > Signed-off-by: Fabio Falzoi > --- > drivers/staging/rts5208/rtsx_chip.c | 141 > ++-- > 1 file changed, 72 insertions(+), 69 deletions(-) > > diff -

Re: [PATCH 1/6] Staging: comedi: dmm32at: Simplify a trivial if-return sequence

2015-06-19 Thread gre...@linuxfoundation.org
On Fri, Jun 19, 2015 at 06:08:04AM +, Abdul, Hussain (H.) wrote: > On Friday 19 June 2015 04:30 AM, gre...@linuxfoundation.org wrote: > > On Tue, Jun 16, 2015 at 02:03:44PM +, Abdul, Hussain (H.) wrote: > >> From: Abdul Hussain > >> > >> This patch simplify a trivial if-return sequence. Po

[PATCH] staging: rtl8712: Corrected line that was over 80 characters

2015-06-19 Thread Arjun Krishna Babu
Signed-off-by: Arjun Krishna Babu --- drivers/staging/rtl8712/rtl8712_led.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8712/rtl8712_led.c b/drivers/staging/rtl8712/rtl8712_led.c index ada8d5d..0df7b0c 100644 --- a/drivers/staging/rtl8712/rtl8712_led.c

Re: [PATCH v2 5/9] staging: sm7xxfb: fix alignment

2015-06-19 Thread Dan Carpenter
On Wed, Jun 17, 2015 at 04:54:44PM +0530, Sudip Mukherjee wrote: > @@ -346,9 +346,8 @@ static ssize_t smtcfb_read(struct fb_info *info, char > __user *buf, size_t > dst = buffer; > for (i = c >> 2; i--;) { > *dst = fb_readl(src++); > -

Re: [PATCH] staging: rtl8712: Corrected line that was over 80 characters

2015-06-19 Thread Greg KH
On Fri, Jun 19, 2015 at 10:41:28PM +0800, Arjun Krishna Babu wrote: > Signed-off-by: Arjun Krishna Babu > --- > drivers/staging/rtl8712/rtl8712_led.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/rtl8712/rtl8712_led.c > b/drivers/staging/rtl8712/rtl871

Re: [PATCH v2 8/9] staging: sm7xxfb: fix indention

2015-06-19 Thread Dan Carpenter
Oh. Ok. Fine. regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH v2 9/9] staging: sm7xxfb: fix camelcase

2015-06-19 Thread Dan Carpenter
On Wed, Jun 17, 2015 at 04:54:48PM +0530, Sudip Mukherjee wrote: > Fix the checkpatch warning about CamelCase. > > Signed-off-by: Sudip Mukherjee > --- > drivers/staging/sm7xxfb/sm7xx.h | 2 +- > drivers/staging/sm7xxfb/sm7xxfb.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >

Re: [PATCH v2 7/9] staging: sm7xxfb: move mode table

2015-06-19 Thread Dan Carpenter
On Wed, Jun 17, 2015 at 04:54:46PM +0530, Sudip Mukherjee wrote: > +static const struct ModeInit vgamode[] = { > + { > + /* mode#0: 640 x 480 16Bpp 60Hz */ > + 640, 480, 16, 60, > + /* Init_MISC */ > + 0xE3, > + { /* Init_SR0_SR4 */ > + 0

RE: [PATCH v2 2/3] staging: unisys: convert pack pragma to __packed

2015-06-19 Thread Kershner, David A
> -Original Message- > From: Dan Carpenter [mailto:dan.carpen...@oracle.com] > Sent: Friday, June 19, 2015 8:55 AM > To: Kershner, David A > Cc: gre...@linuxfoundation.org; jes.soren...@redhat.com; *S-Par- > Maintainer; driverdev-devel@linuxdriverproject.org; Romer, Benjamin M > Subject:

Re: [PATCH v2 2/3] staging: unisys: convert pack pragma to __packed

2015-06-19 Thread Jes Sorensen
"Kershner, David A" writes: >> -Original Message- >> From: Dan Carpenter [mailto:dan.carpen...@oracle.com] >> Sent: Friday, June 19, 2015 8:55 AM >> To: Kershner, David A >> Cc: gre...@linuxfoundation.org; jes.soren...@redhat.com; *S-Par- >> Maintainer; driverdev-devel@linuxdriverproject.o

[PATCH] Staging: rts5208: fix CHANGE_LINK_STATE value

2015-06-19 Thread Fabio Falzoi
Fix CHANGE_LINK_STATE value when card_exist is true. This bug was introduced in a9b693cd77d70fb93dad8cbce667a49cd9b87352 Signed-off-by: Fabio Falzoi --- drivers/staging/rts5208/rtsx_chip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rts5208/rtsx_chip.c b/

Re: [PATCH] Staging: rts5208: fix CHANGE_LINK_STATE value

2015-06-19 Thread Joe Perches
On Fri, 2015-06-19 at 17:12 +0200, Fabio Falzoi wrote: > Fix CHANGE_LINK_STATE value when card_exist is true. > This bug was introduced in a9b693cd77d70fb93dad8cbce667a49cd9b87352 Please use just 12 byte of the SHA-1 and add the title: Something like: This bug was introduced in commit a9b693cd77

[PATCH v2] Staging: rts5208: fix CHANGE_LINK_STATE value

2015-06-19 Thread Fabio Falzoi
Fix CHANGE_LINK_STATE value when card_exist is true. Fixes: a9b693cd77d7 ("Staging: rts5208: helper function to manage delink states") Signed-off-by: Fabio Falzoi --- drivers/staging/rts5208/rtsx_chip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rts5208/

Re: [PATCH v2 09/17] staging/lirc_serial: Remove TSC-based timing

2015-06-19 Thread Andy Lutomirski
Hi Mauro, etc: Are you okay with this change landing in the tip tree? --Andy On Fri, Jun 12, 2015 at 4:44 PM, Andy Lutomirski wrote: > It wasn't compiled in by default. I suspect that the driver was and > still is broken, though -- it's calling udelay with a parameter > that's derived from loo

Re: [PATCH] drivers: staging: rtl8712: remove unnecessory else statement

2015-06-19 Thread Greg KH
On Fri, Jun 19, 2015 at 01:52:43PM +0530, Sunil Shahu wrote: > "else" statement after "if" is unnecessory, hence removed. > > Signed-off-by: Sunil Shahu > --- > drivers/staging/rtl8712/rtl871x_security.c | 35 > ++ > 1 file changed, 16 insertions(+), 19 deletions(-)

Re: [PATCH v2 2/3] staging: unisys: convert pack pragma to __packed

2015-06-19 Thread Dan Carpenter
On Fri, Jun 19, 2015 at 03:02:32PM +, Kershner, David A wrote: > Thanks for the find. Unfortunately, all the structs defined in iochannel.h > need to be packed since they are shared across different OS and code > instances. I'll look into changing the s-Par firmware and will update the > iochan

[PATCH] staging: sm750fb: use tabs for indentation

2015-06-19 Thread Juston Li
Replace spaces with tabs for indentation to fix the checkpatch.pl warning 'WARNING: please, no spaces at the start of a line' checkpatch doesn't catch comments indented by spaces but I fixed comments adjacent to warnings as well so they would remain aligned. Signed-off-by: Juston Li --- drivers

[PATCH] staging: vt6656: Fixed two lines over 80 characters long

2015-06-19 Thread Arjun Krishna Babu
The presence of comments originally caused the two lines to be over 80 characters long. The issue is fixed by moving the comments into a separate line. Signed-off-by: Arjun Krishna Babu --- drivers/staging/vt6656/rxtx.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/

[PATCH v2] staging: sm750fb: use tabs for indentation

2015-06-19 Thread Juston Li
Replace spaces with tabs for indentation to fix the checkpatch.pl warning 'WARNING: please, no spaces at the start of a line' checkpatch doesn't catch comments indented by spaces but I fixed comments adjacent to warnings as well so they would remain aligned. Changes since v1: fix alignment in ddk

Re: [PATCH v2] staging: sm750fb: use tabs for indentation

2015-06-19 Thread Greg KH
On Fri, Jun 19, 2015 at 10:13:11PM -0700, Juston Li wrote: > Replace spaces with tabs for indentation to fix the checkpatch.pl warning > 'WARNING: please, no spaces at the start of a line' > > checkpatch doesn't catch comments indented by spaces but I fixed comments > adjacent to warnings as well

[PATCH] Staging: sm750fb: Fix C99 Comments

2015-06-19 Thread Amitoj Kaur Chawla
Used C89 instead of C99 Comments and removed C99 comments performing prints only. Problem found using checkpatch.pl ERROR: do not use C99 // comments Signed-off-by: Amitoj Kaur Chawla --- drivers/staging/sm750fb/ddk750_chip.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) dif

Re: [PATCH v2] staging: sm750fb: use tabs for indentation

2015-06-19 Thread Juston Li
On Fri, Jun 19, 2015 at 10:21 PM, Greg KH wrote: > > On Fri, Jun 19, 2015 at 10:13:11PM -0700, Juston Li wrote: > > Replace spaces with tabs for indentation to fix the checkpatch.pl warning > > 'WARNING: please, no spaces at the start of a line' > > > > checkpatch doesn't catch comments indented b

[PATCH v3] staging: sm750fb: use tabs for indentation

2015-06-19 Thread Juston Li
Replace spaces with tabs for indentation to fix the checkpatch.pl warning 'WARNING: please, no spaces at the start of a line' checkpatch doesn't catch comments indented by spaces but I fixed comments adjacent to warnings as well so they would remain aligned. Signed-off-by: Juston Li --- Changes

Re: [PATCH] Staging: sm750fb: Fix C99 Comments

2015-06-19 Thread Juston Li
On Fri, Jun 19, 2015 at 10:25 PM, Amitoj Kaur Chawla wrote: > Used C89 instead of C99 Comments and removed C99 comments performing > prints only. > Problem found using checkpatch.pl > > ERROR: do not use C99 // comments > > Signed-off-by: Amitoj Kaur Chawla These changes have already been added