[PATCH] Staging: media: lirc: cleaned up packet dump in 2 files.

2014-10-02 Thread Amber Thrall
lirc_imon.c and lirc_sasem.c contain an incoming_packet method that is using deprecated printk's. Removed blocks replacing with single dev_info with a %*ph format instead. Signed-off-by: Amber Thrall --- drivers/staging/media/lirc/lirc_imon.c | 10 ++ drivers/staging/media/lirc/lirc_sa

Re: [PATCH] Fixed all coding style issues for drivers/staging/media/lirc/

2014-10-02 Thread Joe Perches
On Fri, 2014-10-03 at 02:58 +0300, Antti Palosaari wrote: > On 10/02/2014 07:45 PM, Joe Perches wrote: > > On Thu, 2014-10-02 at 10:29 -0300, Mauro Carvalho Chehab wrote: > >> Em Wed, 01 Oct 2014 21:40:02 -0700 Amber Thrall > >> escreveu: > >>> Fixed various coding style issues, including strings

Re: [PATCH] Fixed all coding style issues for drivers/staging/media/lirc/

2014-10-02 Thread Antti Palosaari
On 10/02/2014 07:45 PM, Joe Perches wrote: On Thu, 2014-10-02 at 10:29 -0300, Mauro Carvalho Chehab wrote: Em Wed, 01 Oct 2014 21:40:02 -0700 Amber Thrall escreveu: Fixed various coding style issues, including strings over 80 characters long and many deprecated printk's have been replaced

Re: [PATCH] staging: nokia_h4: remove deprecated IRQF_DISABLED

2014-10-02 Thread Michael Opdenacker
Hi Aaro, Thank you for reviewing my patch! On 10/01/2014 11:42 PM, Aaro Koskinen wrote: > Hi, > > On Wed, Oct 01, 2014 at 10:33:48PM +0200, Michael Opdenacker wrote: >> Remove the use of the IRQF_DISABLED flag >> from drivers/staging/nokia_h4p/nokia_core.c >> >> It's a NOOP since 2.6.35 and it wi

Re: [PATCH v2] staging: rts5208: Clean up coding style in rtsx_chip.c to get rid of checkpatch.pl warnings and combine two ifs into one

2014-10-02 Thread Joe Perches
On Thu, 2014-10-02 at 18:25 +0300, Giedrius Statkevicius wrote: > On 2014.10.02 14:45, Joe Perches wrote: > > On Thu, 2014-10-02 at 14:13 +0300, Giedrius Statkevicius wrote: > >> Fix 10 occurences of coding style errors where the line exceeds 80 > >> characters by breaking them into more lines. >

RE: [PATCH] drivers/staging/comedi/Kconfig: Let COMEDI_II_PCI20KC depend on HAS_IOMEM

2014-10-02 Thread Hartley Sweeten
On Thursday, October 02, 2014 10:26 AM, Rostislav Lisovy wrote: > > Since "egrep -irn "ioremap" drivers/staging/comedi/drivers | wc -l" > shows "39" does it mean that this should be added to all the other > drivers as well? The others are actually pci_ioremap_bar() and those drivers depend on PCI

Re: [PATCH] Staging: slicoss: slicoss: replaced memcpy with ether_addr_copy

2014-10-02 Thread Dan Carpenter
On Thu, Oct 02, 2014 at 07:36:34PM +0200, Abel Moyo wrote: > Replaced memcpy with ether_addr_copy > The changelog has for ether_addr_copy() changes has to say how you verified that this was safe. Resend with a fixed changelog. regards, dan carpenter

[PATCH] Staging: slicoss: slicoss: replaced memcpy with ether_addr_copy

2014-10-02 Thread Abel Moyo
Replaced memcpy with ether_addr_copy Signed-off-by: Abel Moyo --- drivers/staging/slicoss/slicoss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss.c index 56ca3b6..f48eeb1 100644 --- a/drivers/staging/slico

Re: [PATCH] drivers/staging/comedi/Kconfig: Let COMEDI_II_PCI20KC depend on HAS_IOMEM

2014-10-02 Thread Rostislav Lisovy
On Thu, 2014-10-02 at 17:01 +, Hartley Sweeten wrote: > On Thursday, October 02, 2014 7:41 AM, Chen Gang wrote: > > COMEDI_II_PCI20KC needs HAS_IOMEM, so depend on it. The related error ( > > with allmodconfig under um): > > > > CC [M] drivers/staging/comedi/drivers/ii_pci20kc.o > > driv

Re: [PATCH] Fixed all coding style issues for drivers/staging/media/lirc/

2014-10-02 Thread Joe Perches
On Thu, 2014-10-02 at 10:29 -0300, Mauro Carvalho Chehab wrote: > Em Wed, 01 Oct 2014 21:40:02 -0700 Amber Thrall > escreveu: > > Fixed various coding style issues, including strings over 80 characters > > long and many > > deprecated printk's have been replaced with proper methods. [] > > diff

RE: [PATCH] drivers/staging/comedi/Kconfig: Let COMEDI_II_PCI20KC depend on HAS_IOMEM

2014-10-02 Thread Hartley Sweeten
On Thursday, October 02, 2014 7:41 AM, Chen Gang wrote: > COMEDI_II_PCI20KC needs HAS_IOMEM, so depend on it. The related error ( > with allmodconfig under um): > > CC [M] drivers/staging/comedi/drivers/ii_pci20kc.o > drivers/staging/comedi/drivers/ii_pci20kc.c: In function ‘ii20k_attach’: >

Re: [PATCH 04/67] staging: unisys: remove stray blank line in timskmod.h

2014-10-02 Thread Romer, Benjamin M
On Thu, 2014-10-02 at 09:41 -0700, Greg KH wrote: > > - > > /* @} */ > > What is that odd comment? I think it's part of a doxygen block that starts above the #defines: /** * @addtogroup driverlogging * @{ */ To make sure, I'll ask the original author when I get the chance. -- Ben ___

Re: [PATCH 04/67] staging: unisys: remove stray blank line in timskmod.h

2014-10-02 Thread Greg KH
On Thu, Oct 02, 2014 at 11:55:44AM -0500, Romer, Benjamin M wrote: > On Thu, 2014-10-02 at 09:41 -0700, Greg KH wrote: > > > - > > > /* @} */ > > > > What is that odd comment? > > I think it's part of a doxygen block that starts above the #defines: > > /** > * @addtogroup driverlogging > *

Re: [PATCH 00/67] staging: unisys: checkpatch cleanup in include directory

2014-10-02 Thread Greg KH
On Tue, Sep 30, 2014 at 12:07:44PM -0400, Benjamin Romer wrote: > This patch series addresses the checkpatch.pl warnings and checks generated > with the --strict option, in the include directory for the Unisys drivers. > > Most of the issues are fixed, except for CamelCase members of structs not

Re: [PATCH 64/67] staging: unisys: Fix CamelCase in Issue_VMCALL_FATAL_BYE_BYE()

2014-10-02 Thread Greg KH
On Tue, Sep 30, 2014 at 12:08:48PM -0400, Benjamin Romer wrote: > Fix Camelcase name: > Issue_VMCALL_FATAL_BYE_BYE => issue_vmcall_fatal > > Signed-off-by: Benjamin Romer > --- > drivers/staging/unisys/include/uisutils.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/d

Re: [PATCH 61/67] staging: unisys: fix CamelCase in Issue_VMCALL_MEASUREMENT_DO_NOTHING()

2014-10-02 Thread Greg KH
On Tue, Sep 30, 2014 at 12:08:45PM -0400, Benjamin Romer wrote: > Fix CamelCase names: > Issue_VMCALL_MEASUREMENT_DO_NOTHING => > issue_vmcall_measurement_do_nothing > > Signed-off-by: Benjamin Romer > --- > drivers/staging/unisys/include/uisutils.h | 2 +- > 1 file changed, 1 insertion(+)

Re: [PATCH 21/67] staging: unisys: fix CamelCase names in del_virt_iopart

2014-10-02 Thread Greg KH
On Tue, Sep 30, 2014 at 12:08:05PM -0400, Benjamin Romer wrote: > Clean up CamelCase names: > busNo => bus_no > devNo => dev_no > > Signed-off-by: Benjamin Romer > --- > drivers/staging/unisys/include/uisqueue.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/driver

Re: [PATCH 20/67] staging: unisys: fix CamelCase in del_vdisk_iopart

2014-10-02 Thread Greg KH
On Tue, Sep 30, 2014 at 12:08:04PM -0400, Benjamin Romer wrote: > Fix CamelCase names: > busNo => bus_no > devNo => dev_no > > Signed-off-by: Benjamin Romer > --- > drivers/staging/unisys/include/uisqueue.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/sta

Re: [PATCH 19/67] staging: unisys: fix CamelCase names in struct add_vdisk_iopart

2014-10-02 Thread Greg KH
On Tue, Sep 30, 2014 at 12:08:03PM -0400, Benjamin Romer wrote: > Fix CamelCase names: > busNo => bus_no > devNo => dev_no > > Signed-off-by: Benjamin Romer > --- > drivers/staging/unisys/include/uisqueue.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/sta

Re: [PATCH 17/67] staging: unisys: fix CamelCase struct name NetworkPolicy

2014-10-02 Thread Greg KH
On Tue, Sep 30, 2014 at 12:08:01PM -0400, Benjamin Romer wrote: > Clean up CamelCase name: > NetworkPolicy => network_policy > > Signed-off-by: Benjamin Romer > --- > drivers/staging/unisys/include/uisqueue.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/stagi

Re: [PATCH 12/67] staging: unisys: clean up spacing in uisqueue.h

2014-10-02 Thread Greg KH
On Tue, Sep 30, 2014 at 12:07:56PM -0400, Benjamin Romer wrote: > Remove all unnecesary blank lines after braces in uisqueue.h. > > Signed-off-by: Benjamin Romer > --- > drivers/staging/unisys/include/uisqueue.h | 13 + > 1 file changed, 5 insertions(+), 8 deletions(-) > > diff --gi

Re: [PATCH 05/67] staging: unisys: fix spacing in timskmod.h macro

2014-10-02 Thread Greg KH
On Tue, Sep 30, 2014 at 12:07:49PM -0400, Benjamin Romer wrote: > Adds in some missing spaces in the max macro in timskmod.h. > > Signed-off-by: Benjamin Romer > --- > drivers/staging/unisys/include/timskmod.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/stag

Re: [PATCH 04/67] staging: unisys: remove stray blank line in timskmod.h

2014-10-02 Thread Greg KH
On Tue, Sep 30, 2014 at 12:07:48PM -0400, Benjamin Romer wrote: > Just cleaning up the extra blank line from here. > > Signed-off-by: Benjamin Romer > --- > drivers/staging/unisys/include/timskmod.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/staging/unisys/include/timskmod.

[PATCH v3] staging: Add Xilinx Clocking Wizard driver

2014-10-02 Thread Soren Brinkmann
Add a driver for the Xilinx Clocking Wizard soft IP. The clocking wizard provides an AXI interface to dynamically reconfigure the clocking resources of Xilinx FPGAs. Signed-off-by: Soren Brinkmann --- v3: - allow building the driver as module - make speed grade positive - document valid values

Re: [PATCH v2] staging: rts5208: Clean up coding style in rtsx_chip.c to get rid of checkpatch.pl warnings and combine two ifs into one

2014-10-02 Thread Giedrius Statkevicius
On 2014.10.02 14:45, Joe Perches wrote: > On Thu, 2014-10-02 at 14:13 +0300, Giedrius Statkevicius wrote: >> Fix 10 occurences of coding style errors where the line exceeds 80 >> characters by breaking them into more lines. >> Checkpatch.pl reports these errors as: 'WARNING: line over 80 character

[PATCH] drivers/staging/unisys: Let all IOMEM related modules depend on HAS_IOMEM

2014-10-02 Thread Chen Gang
UNISYS_UISLIB, UNISYS_VISORCHIPSET, and UNISYS_VISORUTIL need HAS_IOMEM, so depend on it. One of related error (with allmodconfig under um): CC [M] drivers/staging/unisys/uislib/uislib.o In file included from drivers/staging/unisys/uislib/uislib.c:34:0: drivers/staging/unisys/include/uisu

[PATCH] drivers/staging/comedi/Kconfig: Let COMEDI_II_PCI20KC depend on HAS_IOMEM

2014-10-02 Thread Chen Gang
COMEDI_II_PCI20KC needs HAS_IOMEM, so depend on it. The related error ( with allmodconfig under um): CC [M] drivers/staging/comedi/drivers/ii_pci20kc.o drivers/staging/comedi/drivers/ii_pci20kc.c: In function ‘ii20k_attach’: drivers/staging/comedi/drivers/ii_pci20kc.c:442:2: error: implic

[PATCH] staging: xlr_net: Replace obsolete nlm_cop2_{enable, restore} macros

2014-10-02 Thread Markos Chandras
Commit 64f6ebe63914 ("MIPS: Netlogic: rename nlm_cop2_save/restore") replaced nlm_cop2_enable with nlm_cop2_enable_irqsave and nlm_cop2_restore with nlm_cop2_disable_irqrestore but it did not update the xlr_net driver to use the new macros resulting into build problems like this: drivers/staging/n

Re: [PATCH] Fixed all coding style issues for drivers/staging/media/lirc/

2014-10-02 Thread Mauro Carvalho Chehab
Em Wed, 01 Oct 2014 21:40:02 -0700 Amber Thrall escreveu: > Fixed various coding style issues, including strings over 80 characters long > and many > deprecated printk's have been replaced with proper methods. > > Signed-off-by: Amber Thrall > --- > drivers/staging/media/lirc/lirc_bt829.c |

Re: [PATCH] Fixed all coding style issues for drivers/staging/media/lirc/

2014-10-02 Thread Greg KH
On Wed, Oct 01, 2014 at 09:40:02PM -0700, Amber Thrall wrote: > Fixed various coding style issues, including strings over 80 characters long > and many > deprecated printk's have been replaced with proper methods. Only do one thing per patch, you are doing lots of different things here, and as D

[PATCH V3] Staging: rtl8712 removed unnecessary else after return

2014-10-02 Thread Nitin Kuppelur
Removed unnecessary else after return to solve checkpatch.pl warning Signed-off-by: Nitin Kuppelur --- drivers/staging/rtl8712/hal_init.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8712/hal_init.c b/drivers/staging/rtl8712/hal_init.c index 81cd

Re: [PATCH v2] staging: rts5208: Clean up coding style in rtsx_chip.c to get rid of checkpatch.pl warnings and combine two ifs into one

2014-10-02 Thread Joe Perches
On Thu, 2014-10-02 at 14:13 +0300, Giedrius Statkevicius wrote: > Fix 10 occurences of coding style errors where the line exceeds 80 characters > by breaking them into more lines. > Checkpatch.pl reports these errors as: 'WARNING: line over 80 characters' > Also, removes unnecessary returns in two

[PATCH] Staging: rtl8712 removed unnecessary else after return

2014-10-02 Thread Nitin Kuppelur
Removed unnecessary else after return to solve checkpatch.pl warning Signed-off-by: Nitin Kuppelur --- drivers/staging/rtl8712/hal_init.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8712/hal_init.c b/drivers/staging/rtl8712/hal_init.c index 81cd

[PATCH v2] staging: rts5208: Clean up coding style in rtsx_chip.c to get rid of checkpatch.pl warnings and combine two ifs into one

2014-10-02 Thread Giedrius Statkevicius
Fix 10 occurences of coding style errors where the line exceeds 80 characters by breaking them into more lines. Checkpatch.pl reports these errors as: 'WARNING: line over 80 characters' Also, removes unnecessary returns in two void functions by removing the return statements. Checkpatch.pl report

Re: [PATCH V2] Staging: rtl8712 removed unnecessary else after return

2014-10-02 Thread Dan Carpenter
On Thu, Oct 02, 2014 at 09:44:06AM +0200, Nitin Kuppelur wrote: > Removed unnecessary else after return to solve > checkpatch.pl warning > > Signed-off-by: Nitin Kuppelur > --- > drivers/staging/rtl8712/hal_init.c | 7 ++- > 1 file changed, 2 insertions(+), 5 deletions(-) > > diff --git a/d

Re: [PATCH] Fixed all coding style issues for drivers/staging/media/lirc/

2014-10-02 Thread Dan Carpenter
On Wed, Oct 01, 2014 at 07:35:51PM -0700, Amber Thrall wrote: > Fixed various coding sytles. > Fix one type of thing at a time. > Signed-off-by: Amber Thrall > --- > drivers/staging/media/lirc/lirc_bt829.c | 2 +- > drivers/staging/media/lirc/lirc_imon.c | 4 +- > drivers/staging/media/li

Re: [PATCH] staging: rts5208: Clean up coding style in rtsx_chip.c to get rid of checkpatch.pl warnings

2014-10-02 Thread Dan Carpenter
On Thu, Oct 02, 2014 at 01:12:35AM +0300, Giedrius Statkevicius wrote: > diff --git a/drivers/staging/rts5208/rtsx_chip.c > b/drivers/staging/rts5208/rtsx_chip.c > index 1411471..d604341 100644 > --- a/drivers/staging/rts5208/rtsx_chip.c > +++ b/drivers/staging/rts5208/rtsx_chip.c > @@ -291,7 +291

[PATCH V2] Staging: rtl8712 removed unnecessary else after return

2014-10-02 Thread Nitin Kuppelur
Removed unnecessary else after return to solve checkpatch.pl warning Signed-off-by: Nitin Kuppelur --- drivers/staging/rtl8712/hal_init.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8712/hal_init.c b/drivers/staging/rtl8712/hal_init.c index 81cd

Re: [PATCH] Staging: rtl8712 removed unnecessary else after return

2014-10-02 Thread Nitin Kuppelur
> > Perhaps a more common style is to use: > > if (!padapter->halpriv.hal_bus_init || > padapter->halpriv.hal_bus_init(padapter) != _SUCCESS) > return _FAIL; > > Agreed. I will send updated patch. Regards, Nitin ___ deve