Re: [PATCH] Staging: comedi: check the return value of kobject_set_name

2014-07-08 Thread Anton Protopopov
09.07.2014 08:28, gregkh пишет: > On Wed, Jul 09, 2014 at 08:24:06AM +0400, Anton Protopopov wrote: >> 2014-06-09 14:01 GMT+04:00 Ian Abbott : >>> On 2014-06-07 14:56, Anton Protopopov wrote: Added a check of the return value of the kobject_set_name function. Signed-off-by: An

Re: [PATCH] Staging: comedi: check the return value of kobject_set_name

2014-07-08 Thread gregkh
On Wed, Jul 09, 2014 at 08:48:53AM +0400, Anton Protopopov wrote: > > > 09.07.2014 08:28, gregkh пишет: > > On Wed, Jul 09, 2014 at 08:24:06AM +0400, Anton Protopopov wrote: > >> 2014-06-09 14:01 GMT+04:00 Ian Abbott : > >>> On 2014-06-07 14:56, Anton Protopopov wrote: > > Added a check

[PATCH] Staging: comedi: check the return value of kobject_set_name

2014-07-08 Thread Anton Protopopov
Added a check of the return value of the kobject_set_name function. Signed-off-by: Anton Protopopov --- drivers/staging/comedi/comedi_fops.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/staging/comedi/comedi_fops.c b/drivers/staging/comedi/comedi_fops.c in

Re: [PATCH v3 2/4] Staging: rts5208: Replace custom macro with print_hex_dump_bytes

2014-07-08 Thread Joe Perches
On Tue, 2014-07-08 at 16:45 -0700, Greg KH wrote: > On Tue, Jul 08, 2014 at 11:38:30PM +0200, Fabio Falzoi wrote: > > Use print_hex_dump_bytes to have memory properly dumped only when > > DEBUG is defined. [] > > diff --git a/drivers/staging/rts5208/trace.h > > b/drivers/staging/rts5208/trace.h []

Re: [PATCH v3 2/4] Staging: rts5208: Replace custom macro with print_hex_dump_bytes

2014-07-08 Thread Greg KH
On Tue, Jul 08, 2014 at 06:48:18PM -0700, Joe Perches wrote: > On Tue, 2014-07-08 at 16:45 -0700, Greg KH wrote: > > On Tue, Jul 08, 2014 at 11:38:30PM +0200, Fabio Falzoi wrote: > > > Use print_hex_dump_bytes to have memory properly dumped only when > > > DEBUG is defined. > [] > > > diff --git a/

[PATCH v2 0/4] Fix checkpatch reported problem in r819xU_phy.c

2014-07-08 Thread sanjeev sharma
From: sanjeev sharma I have come up with seperate patch as per Dan comment. sanjeev sharma (4): staging: rtl8192u: Remove useless return statement in r819xU_phy.c staging: rtl8192u: Removed unnecessary whitespace & tab warning in r819xU_phy.c staging: rtl8192u: Fixed switch and case i

[PATCH v2 3/4] staging: rtl8192u: Fixed switch and case indentation error in r819xU_phy.c

2014-07-08 Thread sanjeev sharma
From: sanjeev sharma This is a patch to the r819xU_phy.c file that will fix switch and case indentation Error reported by checkpatch script. Signed-off-by: Sanjeev Sharma --- drivers/staging/rtl8192u/r819xU_phy.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a

[PATCH v2 4/4] staging: rtl8192u: Fixed too long lines in r819xU_phy.c

2014-07-08 Thread sanjeev sharma
From: sanjeev sharma This is a patch to the r819xU_phy.c file that will fix too long lines warning reported by checkpatch.pl . Signed-off-by: Sanjeev Sharma --- drivers/staging/rtl8192u/r819xU_phy.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/staging

[PATCH v2 1/4] staging: rtl8192u: Remove useless return statement in r819xU_phy.c

2014-07-08 Thread sanjeev sharma
From: sanjeev sharma This is a patch to the r819xU_phy.c file that remove unneeded return statements in code. Signed-off-by: Sanjeev Sharma --- Changes in v2: - Remove useless return statement. --- drivers/staging/rtl8192u/r819xU_phy.c | 13 - 1 file changed, 13 deletions(-) di

[PATCH v2 2/4] staging: rtl8192u: Removed unnecessary whitespace & tab warning in r819xU_phy.c

2014-07-08 Thread sanjeev sharma
From: sanjeev sharma This is a patch to the r819xU_phy.c file that remove unnecessary whitespace and tabs reported by checkpatch.pl script. Signed-off-by: Sanjeev Sharma --- drivers/staging/rtl8192u/r819xU_phy.c | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-)

[PATCH 2/2] staging: nokia_h4p: nokia_core.c - removed IRQF_DISABLED macro

2014-07-08 Thread Anil Belur
From: Anil Belur - this patch removes the IRQF_DISABLED macro, as this is deprecated/noop. Signed-off-by: Anil Belur --- drivers/staging/nokia_h4p/nokia_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/nokia_h4p/nokia_core.c b/drivers/staging/nokia_

[PATCH 1/2] staging: media: bcm2048: radio-bcm2048.c - removed IRQF_DISABLED macro

2014-07-08 Thread Anil Belur
From: Anil Belur - this patch removes IRQF_DISABLED macro, as this is deprecated/noop. Signed-off-by: Anil Belur --- drivers/staging/media/bcm2048/radio-bcm2048.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/bcm2048/radio-bcm2048.c b/drivers/stag

<    1   2