[PATCH v4] Staging: wlan-ng: hfa384x_usb: fixed an 'else' statement coding style issue

2014-12-19 Thread Eduardo Barretto
Removed useless 'else' statement that followed an 'if' statement that had a return 1 and moved all the content from the 'else' to outside of the switch case, this way if any case is sufficient it returns '1', otherwise it will return 0. Signed-off-by: Eduardo Barretto --- drivers/staging/wlan-ng

[PATCH net-next] hyperv: Fix some variable name typos in send-buffer init/revoke

2014-12-19 Thread Haiyang Zhang
The changed names are union fields with the same size, so the existing code still works. But, we now update these variables to the correct names. Signed-off-by: Haiyang Zhang Reviewed-by: K. Y. Srinivasan --- drivers/net/hyperv/hyperv_net.h |1 + drivers/net/hyperv/netvsc.c | 15 +

Re: [PATCH] Staging: gdm724x: fix space before comma coding style issue in gdm_mux.c

2014-12-19 Thread Greg KH
On Thu, Dec 18, 2014 at 05:46:29PM +0100, Robert Nachlinger wrote: > This is a patch to the gdm_mux.c file that fixes a space before comma coding > style issue found by the checkpatch.pl tool. Can you fix up your line to be line-wrapped at 72 columns so I don't have to do it by hand? thanks, gr

[PATCH] staging: dgnc: implement proper error handling in dgnc_start()

2014-12-19 Thread Alexey Khoroshilov
dgnc_start() ignores errors in class_create() and device_create() and it does not deallocate resources if dgnc_tty_preinit() fails. The patch implements proper error handling. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/staging/d

Re: [PATCH v6 0/4] FPGA Manager Framework

2014-12-19 Thread Greg KH
On Fri, Dec 19, 2014 at 09:47:26AM -0600, atull wrote: > Thanks. There is a one line change that the kbuild test robot has > pointed out. I can post v7 with just that change and let that be it. Sure, or wait a week to see if anything else falls out and resend then... ___

[PATCH v7 0/4] FPGA Manager Framework

2014-12-19 Thread atull
From: Alan Tull For after 3.19-rc1 is out. v7 adds a one line fix from the kbuild test robot and Michal Simek's signoff. Thanks, Alan Alan Tull (4): doc: add bindings document for altera fpga manager fpga manager: add sysfs interface document staging: fpga manager: framework core sta

[PATCH v7 4/4] staging: fpga manager: add driver for socfpga fpga manager

2014-12-19 Thread atull
From: Alan Tull Add driver to fpga manager framework to allow configuration of FPGA in Altera SoCFPGA parts. Signed-off-by: Alan Tull Acked-by: Michal Simek --- v2: fpga_manager struct now contains struct device fpga_manager_register parameters now take device v3: skip a version to align

[PATCH v7 3/4] staging: fpga manager: framework core

2014-12-19 Thread atull
From: Alan Tull Supports standard ops for low level FPGA drivers. Various manufacturors' FPGAs can be supported by adding low level drivers. Each driver needs to register its ops using fpga_mgr_register(). Exports methods of doing operations to program FPGAs. These should be sufficient for ind

[PATCH v7 1/4] doc: add bindings document for altera fpga manager

2014-12-19 Thread atull
From: Alan Tull New bindings document for Altera fpga manager. Signed-off-by: Alan Tull --- v5 : Move bindings to drivers/staging/fpga/Documentation/bindings v6 : No change in this patch for v6 of the patch set v7 : No change in this patch for v7 of the patch set --- .../Documentation/bindin

[PATCH v7 2/4] fpga manager: add sysfs interface document

2014-12-19 Thread atull
From: Alan Tull Add documentation under drivers/staging for new fpga manager's sysfs interface. Signed-off-by: Alan Tull --- v5 : (actually second version, but keeping version numbers aligned with rest of patch series) Move document to drivers/staging/fpga/Documentation/ABI v6 :

Re: [PATCH v6 4/4] staging: fpga manager: add driver for socfpga fpga manager

2014-12-19 Thread Steffen Trumtrar
On Fri, Dec 19, 2014 at 09:55:34AM -0600, atull wrote: > On Fri, 19 Dec 2014, Steffen Trumtrar wrote: > > > On Fri, Dec 19, 2014 at 03:05:50PM +0100, Michal Simek wrote: > > > On 12/19/2014 09:55 AM, Steffen Trumtrar wrote: > > > > Hi! > > > > > > > > Just a minor nitpick, but... > > > > > > > >

Re: [PATCH v6 4/4] staging: fpga manager: add driver for socfpga fpga manager

2014-12-19 Thread atull
On Fri, 19 Dec 2014, Steffen Trumtrar wrote: > On Fri, Dec 19, 2014 at 03:05:50PM +0100, Michal Simek wrote: > > On 12/19/2014 09:55 AM, Steffen Trumtrar wrote: > > > Hi! > > > > > > Just a minor nitpick, but... > > > > > > On Thu, Dec 18, 2014 at 04:29:08PM -0600, at...@opensource.altera.com >

Re: [PATCH v6 0/4] FPGA Manager Framework

2014-12-19 Thread atull
On Fri, 19 Dec 2014, Greg KH wrote: > On Fri, Dec 19, 2014 at 03:20:59PM +0100, Michal Simek wrote: > > Hi Greg, > > > > On 12/18/2014 11:29 PM, at...@opensource.altera.com wrote: > > > From: Alan Tull > > > > > > Dropping the changes to socfpga DTS and defconfig from this > > > patch set. > >

Re: [PATCH 544/544] Staging: comedi: fix spacing style issues in ni_stc.h This is a patch to the ni_stc.h file that removes spaces before tabs, and adds blank lines after declarations.

2014-12-19 Thread Greg KH
On Fri, Dec 19, 2014 at 04:19:31AM -0500, Sage Vaillancourt wrote: > --- > drivers/staging/comedi/drivers/ni_stc.h | 12 > 1 file changed, 8 insertions(+), 4 deletions(-) Odd subject there, don't you think? And where are the 543 other patches you sent out that need to be applied bef

Re: [PATCH v3] Staging: wlan-ng: hfa384x_usb: fixed an 'else' statement coding style issue

2014-12-19 Thread Greg KH
On Fri, Dec 19, 2014 at 12:18:26AM -0200, Eduardo Barretto wrote: > Checkpatch was complaining about the else statement because the if statement > had a return '1' call. Taking a look at the function which this else > statement belongs, you can see that it has an switch case statement. > The main

Re: [PATCH v6 0/4] FPGA Manager Framework

2014-12-19 Thread Greg KH
On Fri, Dec 19, 2014 at 03:20:59PM +0100, Michal Simek wrote: > Hi Greg, > > On 12/18/2014 11:29 PM, at...@opensource.altera.com wrote: > > From: Alan Tull > > > > Dropping the changes to socfpga DTS and defconfig from this > > patch set. > > > > Kernel doc fixes and other minor fixes as listed

Greetings

2014-12-19 Thread yin
Greetings I am Mr. Phan Yin Tong, and a personal Accountant working with one of the Major bank here in asia . It is with good spirit of heart I opened up this great opportunity to you. A deceased client of mine that shares almost the same name as yours died as a result of heart-related conditio

Re: [PATCH v6 4/4] staging: fpga manager: add driver for socfpga fpga manager

2014-12-19 Thread Steffen Trumtrar
On Fri, Dec 19, 2014 at 03:05:50PM +0100, Michal Simek wrote: > On 12/19/2014 09:55 AM, Steffen Trumtrar wrote: > > Hi! > > > > Just a minor nitpick, but... > > > > On Thu, Dec 18, 2014 at 04:29:08PM -0600, at...@opensource.altera.com wrote: > >> From: Alan Tull > >> > >> Add driver to fpga mana

Re: [PATCH v6 0/4] FPGA Manager Framework

2014-12-19 Thread Michal Simek
Hi Greg, On 12/18/2014 11:29 PM, at...@opensource.altera.com wrote: > From: Alan Tull > > Dropping the changes to socfpga DTS and defconfig from this > patch set. > > Kernel doc fixes and other minor fixes as listed in the patches. > > Alan > > Alan Tull (4): > doc: add bindings document fo

Re: [PATCH v6 3/4] staging: fpga manager: framework core

2014-12-19 Thread Michal Simek
On 12/18/2014 11:29 PM, at...@opensource.altera.com wrote: > From: Alan Tull > > Supports standard ops for low level FPGA drivers. > Various manufacturors' FPGAs can be supported by adding low > level drivers. Each driver needs to register its ops > using fpga_mgr_register(). > > Exports method

Re: [PATCH v6 4/4] staging: fpga manager: add driver for socfpga fpga manager

2014-12-19 Thread Michal Simek
On 12/19/2014 09:55 AM, Steffen Trumtrar wrote: > Hi! > > Just a minor nitpick, but... > > On Thu, Dec 18, 2014 at 04:29:08PM -0600, at...@opensource.altera.com wrote: >> From: Alan Tull >> >> Add driver to fpga manager framework to allow configuration >> of FPGA in Altera SoCFPGA parts. >> >> S

Re: [PATCH] Staging: comedi: fix redundant parens in return in amplc_dio200_common.c

2014-12-19 Thread Aapo Vienamo
On Thu, Dec 18, 2014 at 02:45:01PM -0800, Jeremiah Mahler wrote: > Aapo, > > On Thu, Dec 18, 2014 at 05:32:52PM +0200, Aapo Vienamo wrote: > > This patch fixes a coding style issue found by the checkpatch.pl tool in > > amplc_dio200_common.c by removing the unnecessary parentheses around the > > e

Re: [PATCH v4 0/6] mmc: rtsx: add support for sdio card

2014-12-19 Thread Ulf Hansson
On 5 December 2014 at 06:54, wrote: > From: Micky Ching > > v4: > split patch in more detailed patches. no code changes diff v3. > > v3: > rtsx_pci_sdmmc.c: > - dump_reg_range > - remove unused pointer check > - fix start index > v2: > rtsx_pci.h: > - remove unused rtsx

[PATCH] staging: fpga manager: fix odd_ptr_err.cocci warnings

2014-12-19 Thread kbuild test robot
drivers/staging/fpga/socfpga.c:647:5-11: inconsistent IS_ERR and PTR_ERR, PTR_ERR on line 648 PTR_ERR should access the value just tested by IS_ERR Semantic patch information: There can be false positives in the patch case, where it is the call IS_ERR that is wrong. Generated by: scripts/coc

[PATCH 544/544] Staging: comedi: fix spacing style issues in ni_stc.h This is a patch to the ni_stc.h file that removes spaces before tabs, and adds blank lines after declarations.

2014-12-19 Thread Sage Vaillancourt
--- drivers/staging/comedi/drivers/ni_stc.h | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/staging/comedi/drivers/ni_stc.h b/drivers/staging/comedi/drivers/ni_stc.h index bd69c3f..a79fd07 100644 --- a/drivers/staging/comedi/drivers/ni_stc.h +++ b/drivers/

Re: [PATCH v6 4/4] staging: fpga manager: add driver for socfpga fpga manager

2014-12-19 Thread Steffen Trumtrar
Hi! Just a minor nitpick, but... On Thu, Dec 18, 2014 at 04:29:08PM -0600, at...@opensource.altera.com wrote: > From: Alan Tull > > Add driver to fpga manager framework to allow configuration > of FPGA in Altera SoCFPGA parts. > > Signed-off-by: Alan Tull > Acked-by: Michal Simek > --- > v2: