Re: [PATCH 2/2] mmc: rtsx: Revert mmc: rtsx: add support for pre_req and post_req

2014-05-05 Thread Ulf Hansson
On 29 April 2014 09:36, Ulf Hansson ulf.hans...@linaro.org wrote: On 29 April 2014 03:54, micky_ch...@realsil.com.cn wrote: From: Micky Ching micky_ch...@realsil.com.cn This reverts commit c42deffd5b53c9e583d83c7964854ede2f12410d. commit mmc: rtsx: add support for pre_req and post_req did

Re: [PATCH] staging: android: fix missing a blank line after declarations

2014-05-05 Thread Dan Carpenter
On Sat, May 03, 2014 at 07:43:26PM -0400, Greg KH wrote: On Tue, Apr 29, 2014 at 08:32:21PM +0300, Dan Carpenter wrote: On Wed, Apr 30, 2014 at 01:59:12AM +0900, Seunghun Lee wrote: This patch fixes Missing a blank line after declarations warnings. Signed-off-by: Seunghun Lee

[RESEND PATCH] staging: dgnc: use dev_err() instead of printk()

2014-05-05 Thread Martin Kepplinger
Use dev_err() instead of printk() and remove dgnc: from the message. This should provide userspace with more useful information and use the common kernel coding style. Signed-off-by: Martin Kepplinger mart...@posteo.de --- drivers/staging/dgnc/dgnc_sysfs.c |2 +- 1 file changed, 1

Re: [RESEND PATCH] staging: dgnc: use dev_err() instead of printk()

2014-05-05 Thread Dan Carpenter
On Mon, May 05, 2014 at 12:29:39PM +0200, Martin Kepplinger wrote: Use dev_err() instead of printk() and remove dgnc: from the message. This should provide userspace with more useful information and use the common kernel coding style. Whenever I see a RESEND in a subject and no explanation

Re: [RESEND PATCH] staging: dgnc: use dev_err() instead of printk()

2014-05-05 Thread Martin Kepplinger
Am 2014-05-05 13:35, schrieb Dan Carpenter: On Mon, May 05, 2014 at 12:29:39PM +0200, Martin Kepplinger wrote: Use dev_err() instead of printk() and remove dgnc: from the message. This should provide userspace with more useful information and use the common kernel coding style. Whenever I

Re: [RESEND PATCH] staging: dgnc: use dev_err() instead of printk()

2014-05-05 Thread Martin Kepplinger
Am 2014-05-05 14:36, schrieb Dan Carpenter: On Mon, May 05, 2014 at 01:59:25PM +0200, Martin Kepplinger wrote: Am 2014-05-05 13:35, schrieb Dan Carpenter: On Mon, May 05, 2014 at 12:29:39PM +0200, Martin Kepplinger wrote: Use dev_err() instead of printk() and remove dgnc: from the message.

Re: [PATCH] locks: ensure that fl_owner is always initialized properly in flock and lease codepaths

2014-05-05 Thread J. Bruce Fields
Looks fine to me, ACK.--b. On Mon, Apr 28, 2014 at 01:50:13PM -0400, Jeff Layton wrote: Currently, the fl_owner isn't set for flock locks. Some filesystems use byte-range locks to simulate flock locks and there is a common idiom in those that does: fl-fl_owner = (fl_owner_t)filp;

[PATCH 12/20] staging: comedi: adl_pci9118: remove 'valid' from private data

2014-05-05 Thread H Hartley Sweeten
This member of the private data is set only used during the (*detach) to check if the board can be reset. The pci9118_reset() function just needs a valid dev-iobase. Use that instead. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg

[PATCH 10/20] staging: comedi: adl_pci9118: cmd-stop_src == TRIG_INT is not supported

2014-05-05 Thread H Hartley Sweeten
The (*do_cmdtest) only allows TRIG_COUNT, TRIG_NONE, or TRIG_EXT as the cmd-stop_src. Remove the disabled code. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org ---

[PATCH 00/20] staging: comedi: adl_pci9118: cleanup the private data

2014-05-05 Thread H Hartley Sweeten
Remove the unused or unnecessary members from the private data. H Hartley Sweeten (20): staging: comedi: adl_pci9118: remove 'ai_n_chan' from private data staging: comedi: adl_pci9118: remove 'ai_chanlist' from private data staging: comedi: adl_pci9118: remove 'ai_data_len' from private

[PATCH 11/20] staging: comedi: adl_pci9118: remove 'ai_buf_ptr' from private data

2014-05-05 Thread H Hartley Sweeten
This member of the private data is set to 0 but never used. Remove it. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/comedi/drivers/adl_pci9118.c | 3 --- 1 file changed, 3

[PATCH 19/20] staging: comedi: adl_pci9118: remove 'cnt0_divisor' from private data

2014-05-05 Thread H Hartley Sweeten
This member of the private data is not used. Remove it. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/comedi/drivers/adl_pci9118.c | 1 - 1 file changed, 1 deletion(-) diff

[PATCH 20/20] staging: comedi: adl_pci9118: remove 'dmabuf_samples' from private data

2014-05-05 Thread H Hartley Sweeten
This member of the private data is set but never used. Remove it. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/comedi/drivers/adl_pci9118.c | 3 --- 1 file changed, 3

[PATCH 14/20] staging: comedi: adl_pci9118: remove 'useeoshandle' from private data

2014-05-05 Thread H Hartley Sweeten
This member of the private data is always set to 0. Remove it and the affected code. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/comedi/drivers/adl_pci9118.c | 32

[PATCH 02/20] staging: comedi: adl_pci9118: remove 'ai_chanlist' from private data

2014-05-05 Thread H Hartley Sweeten
This member of the private data is just a copy of the cmd-chanlist. Use that instead. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/comedi/drivers/adl_pci9118.c | 6 ++ 1

[PATCH 01/20] staging: comedi: adl_pci9118: remove 'ai_n_chan' from private data

2014-05-05 Thread H Hartley Sweeten
This member of the private data is just a copy of the cmd-chanlist_len. Use that instead. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/comedi/drivers/adl_pci9118.c | 17

[PATCH 03/20] staging: comedi: adl_pci9118: remove 'ai_data_len' from private data

2014-05-05 Thread H Hartley Sweeten
This member of the private data is just a copy of the s-async-prealloc_bufsz. Use that instead. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/comedi/drivers/adl_pci9118.c | 27

[PATCH 09/20] staging: comedi: adl_pci9118: remove 'usessh' from private data

2014-05-05 Thread H Hartley Sweeten
This member of the private data is only set when the cmd-convert_src is TRIG_NOW. Use that instead. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/comedi/drivers/adl_pci9118.c |

[PATCH 16/20] staging: comedi: adl_pci9118: remove 'int_ai_func' from private data

2014-05-05 Thread H Hartley Sweeten
The devpriv-usedma flag can be checked to determine which handler function should be used to transfer the analog input data. Do that instead and remove the member from the private data. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg

[PATCH 05/20] staging: comedi: adl_pci9118: remove 'ai_timer2' from private data

2014-05-05 Thread H Hartley Sweeten
This member of the private data is set but never used. Remove it. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/comedi/drivers/adl_pci9118.c | 4 1 file changed, 4

[PATCH 17/20] staging: comedi: adl_pci9118: tidy up interrupt_pci9118()

2014-05-05 Thread H Hartley Sweeten
For aesthetics, rename this function so it has namespace associated with the driver. Refactor the function to reduce the indent level and tidy up the code. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman

[PATCH 13/20] staging: comedi: adl_pci9118: remove 'cnt0_users' from private data

2014-05-05 Thread H Hartley Sweeten
This member of the private data is set to 0 but never used. Remove it. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/comedi/drivers/adl_pci9118.c | 5 - 1 file changed, 5

[PATCH 08/20] staging: comedi: adl_pci9118: remove 'ai_scans' from private data

2014-05-05 Thread H Hartley Sweeten
This member of the private data is just a copy of the cmd-stop_arg. Use that instead. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/comedi/drivers/adl_pci9118.c | 21

[PATCH] [staging/silicom] Fixing missing blank line after declarations

2014-05-05 Thread Fernando Apesteguia
Small fix to driver. If these patches are welcomed, more could come in the future. Regards From d8369cba0552c5ea5f4eadc750434e39785e042a Mon Sep 17 00:00:00 2001 From: Fernando Apesteguia fernando.apesteg...@gmail.com Date: Mon, 5 May 2014 18:16:53 +0200 Subject: [PATCH] [staging/silicom] Fixing

[PATCH 18/20] staging: comedi: adl_pci9118: tidy up start_pacer()

2014-05-05 Thread H Hartley Sweeten
For aesthetics, rename this function so it has namespace associated with the driver. The divisors used to load the counters are stored in the private data. Get them from there and remove the parameters. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott

[PATCH 04/20] staging: comedi: adl_pci9118: remove 'ai_timer1' from private data

2014-05-05 Thread H Hartley Sweeten
This member of the private data is set but never used. Remove it. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/comedi/drivers/adl_pci9118.c | 3 --- 1 file changed, 3

RE: [PATCH 0/4] staging: comedi: addi_apci_1564: Further cleanups

2014-05-05 Thread Hartley Sweeten
On Saturday, May 03, 2014 12:54 AM, Chase Southwood wrote: Latest patchset in a continuing cleanup of addi_apci_1564.c. Main focus is on the auto_attach() function, but also cleaning up some of the old addi common code wrappers. To be applied on top of my prior patchset to this file (the one

[PATCH 3/4] staging: comedi: adl_pc19111: remove 'chanlist_len' from private data

2014-05-05 Thread H Hartley Sweeten
This member of the private data is a copy of the cmd-chanlist_len. Use that instead. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/comedi/drivers/adl_pci9111.c | 11 ---

[PATCH 0/4] staging: comedi: adl_pc19111: cleanup the private data

2014-05-05 Thread H Hartley Sweeten
Remove the unused or unnecessary members from the private data. H Hartley Sweeten (4): staging: comedi: adl_pc19111: remove 'stop_is_none' from private data staging: comedi: adl_pc19111: rename 'async_cmd' variable in (*do_cmd) staging: comedi: adl_pc19111: remove 'chanlist_len' from

[PATCH 1/4] staging: comedi: adl_pc19111: remove 'stop_is_none' from private data

2014-05-05 Thread H Hartley Sweeten
This member of the private data can be determined by checking the cmd-stop_src. Do that instead. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/comedi/drivers/adl_pci9111.c | 18

[PATCH 4/4] staging: comedi: adl_pc19111: remove 'continuous' from subdevice private data

2014-05-05 Thread H Hartley Sweeten
This member of the subdevice private data can be determined from the cmd-stop_src. Do that instead. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org ---

[PATCH 2/4] staging: comedi: adl_pc19111: rename 'async_cmd' variable in (*do_cmd)

2014-05-05 Thread H Hartley Sweeten
The comedi_cmd pointer is typically just called 'cmd'. Rename the local variable in pci9111_ai_do_cmd(). Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman gre...@linuxfoundation.org ---

Re: [PATCH] [staging/silicom] Fixing missing blank line after declarations

2014-05-05 Thread Greg KH
On Mon, May 05, 2014 at 06:40:13PM +0200, Fernando Apesteguia wrote: Small fix to driver. If these patches are welcomed, more could come in the future. Regards From d8369cba0552c5ea5f4eadc750434e39785e042a Mon Sep 17 00:00:00 2001 From: Fernando Apesteguia fernando.apesteg...@gmail.com

[PATCH 14/24] staging: comedi: ni_at_a2150: use comedi_fc helpers to validate timer arg

2014-05-05 Thread H Hartley Sweeten
Use the comedi_fc helper cfc_check_trigger_arg_is() to validate the trigger argument when the source is TRIG_TIMER. All the arguments are unsigned int, change the local variable to an unsigned int and rename it for aesthetic reasons. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com

[PATCH 08/24] staging: comedi: das16: use comedi_fc helpers to validate timer args

2014-05-05 Thread H Hartley Sweeten
Use the comedi_fc helper cfc_check_trigger_arg_is() to validate the trigger arguments when the source is TRIG_TIMER. Tidy up the local varaibles in the function. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman

[PATCH 02/24] staging: comedi: adv_pci1710: use comedi_fc helpers to validate timer args

2014-05-05 Thread H Hartley Sweeten
Use the comedi_fc helper, cfc_check_trigger_arg_is(), to validate the cmd-convert_arg for the convert_src TRIG_TIMER. Pass the local variable to i8253_cascade_ns_to_timer() instead of the cmd argument. This value is modified by that function to return the actual time (in nanoseconds) that the

[PATCH 05/24] staging: comedi: amplc_pci224: use comedi_fc helpers to validate timer args

2014-05-05 Thread H Hartley Sweeten
Use the comedi_fc helper cfc_check_trigger_arg_is() to validate the scan_begin_arg when the scan_begin_src is TRIG_TIMER. For aesthetics reasons, rename the local variable 'tmp' to 'arg'. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg

[PATCH 12/24] staging: comedi: dt2814: use comedi_fc helpers to validate timer arg

2014-05-05 Thread H Hartley Sweeten
Use the comedi_fc helper cfc_check_trigger_arg_is() to validate the trigger argument when the source is TRIG_TIMER. All the arguments are unsigned int, change the local variable to an unsigned int and rename it for aesthetic reasons. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com

[PATCH 00/24] staging: comedi: cleanup timer arg validation

2014-05-05 Thread H Hartley Sweeten
Use the comedi_fc helpers to validate the timer arguments. H Hartley Sweeten (24): staging: comedi: adl_pci9111: use comedi_fc helpers to validate timer args staging: comedi: adv_pci1710: use comedi_fc helpers to validate timer args staging: comedi: dt3000: use comedi_fc helpers to validate

[PATCH 19/24] staging: comedi: pcl818: use comedi_fc helpers to validate timer arg

2014-05-05 Thread H Hartley Sweeten
Use the comedi_fc helper cfc_check_trigger_arg_is() to validate the trigger argument when the source is TRIG_TIMER. The minimum test is not needed, this was already validated in Step 3. All the arguments are unsigned int, change the local variable to an unsigned int and rename it for aesthetic

[PATCH 04/24] staging: comedi: adl_pci9118: use comedi_fc helpers to validate timer args

2014-05-05 Thread H Hartley Sweeten
Use the comedi_fc helper, cfc_check_trigger_arg_is(), to validate the arguments for the TRIG_TIMER command sources. Pass the local variable to i8253_cascade_ns_to_timer() instead of the cmd argument. This value is modified by that function to return the actual time (in nanoseconds) that the timer

[PATCH 13/24] staging: comedi: dt282x: use comedi_fc helpers to validate timer args

2014-05-05 Thread H Hartley Sweeten
Use the comedi_fc helper cfc_check_trigger_arg_is() to validate the trigger arguments when the source is TRIG_TIMER. All the arguments are unsigned int, change the local variable to an unsigned int and rename it for aesthetic reasons. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com

[PATCH 22/24] staging: comedi: s626: use comedi_fc helpers to validate timer args

2014-05-05 Thread H Hartley Sweeten
Use the comedi_fc helper cfc_check_trigger_arg_is() to validate the trigger arguments when the source is TRIG_TIMER. Use cfc_check_trigger_arg_min() to vaidate the scan_begin_arg when the scan_begin_src and convert_src are both TRIG_TIMER. All the arguments are unsigned int, change the local

[PATCH 01/24] staging: comedi: adl_pci9111: use comedi_fc helpers to validate timer args

2014-05-05 Thread H Hartley Sweeten
Use the comedi_fc helper, cfc_check_trigger_arg_is(), to validate the cmd-convert_arg for the convert_src TRIG_TIMER. Pass the local variable to i8253_cascade_ns_to_timer() instead of the cmd argument. This value is modified by that function to return the actual time (in nanoseconds) that the

[PATCH 17/24] staging: comedi: pcl812: use comedi_fc helpers to validate timer arg

2014-05-05 Thread H Hartley Sweeten
Use the comedi_fc helper cfc_check_trigger_arg_is() to validate the trigger argument when the source is TRIG_TIMER. The minimum test is not needed, this was already validated in Step 3. All the arguments are unsigned int, change the local variable to an unsigned int and rename it for aesthetic

[PATCH 18/24] staging: comedi: pcl816: use comedi_fc helpers to validate timer arg

2014-05-05 Thread H Hartley Sweeten
Use the comedi_fc helper cfc_check_trigger_arg_is() to validate the trigger argument when the source is TRIG_TIMER. The minimum test is not needed, this was already validated in Step 3. All the arguments are unsigned int, change the local variable to an unsigned int and rename it for aesthetic

[PATCH 24/24] staging: comedi: addi_apci_3xxx: use comedi_fc helpers to validate timer arg

2014-05-05 Thread H Hartley Sweeten
Use the comedi_fc helper cfc_check_trigger_arg_is() to validate the trigger argument when the source is TRIG_TIMER. For aesthetics, rename the local variable 'tmp' to 'arg'. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg Kroah-Hartman

[PATCH 10/24] staging: comedi: das800: use comedi_fc helpers to validate timer args

2014-05-05 Thread H Hartley Sweeten
Use the comedi_fc helper cfc_check_trigger_arg_is() to validate the trigger arguments when the source is TRIG_TIMER. All the arguments are unsigned int, change the local variable to an unsigned int and rename it for aesthetic reasons. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com

[PATCH 20/24] staging: comedi: quatech_daqp_cs: use comedi_fc helpers to validate timer args

2014-05-05 Thread H Hartley Sweeten
Use the comedi_fc helper cfc_check_trigger_arg_is() to validate the trigger arguments when the source is TRIG_TIMER. All the arguments are unsigned int, change the local variable to an unsigned int and rename it for aesthetic reasons. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com

[PATCH 15/24] staging: comedi: ni_pcidio: use comedi_fc helpers to validate timer arg

2014-05-05 Thread H Hartley Sweeten
Use the comedi_fc helper cfc_check_trigger_arg_is() to validate the trigger argument when the source is TRIG_TIMER. All the arguments are unsigned int, change the local variable to an unsigned int and rename it for aesthetic reasons. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com

[PATCH 06/24] staging: comedi: cb_pcidas: use comedi_fc helpers to validate timer args

2014-05-05 Thread H Hartley Sweeten
Use the comedi_fc helper cfc_check_trigger_arg_is() to validate the trigger arguments when the source is TRIG_TIMER. All the arguments are unsigned int, change the local variable to an unsigned int and rename it for aesthetic reasons. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com

Re: [PATCH] [staging/silicom] Fixing missing blank line after declarations

2014-05-05 Thread Fernando Apesteguia
On Mon, May 05, 2014 at 09:57:48AM -0700, Greg KH wrote: On Mon, May 05, 2014 at 06:40:13PM +0200, Fernando Apesteguia wrote: Small fix to driver. If these patches are welcomed, more could come in the future. Regards From d8369cba0552c5ea5f4eadc750434e39785e042a Mon Sep 17 00:00:00

[PATCH 09/24] staging: comedi: das16m1: use comedi_fc helpers to validate timer args

2014-05-05 Thread H Hartley Sweeten
Use the comedi_fc helper cfc_check_trigger_arg_is() to validate the trigger arguments when the source is TRIG_TIMER. For aesthetics, rename the local variable 'tmp' to 'arg'. Also, change the 'err' variable to the correct type. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc:

Re: [PATCH] [staging/silicom] Fixing missing blank line after declarations

2014-05-05 Thread Greg KH
On Mon, May 05, 2014 at 07:10:37PM +0200, Fernando Apesteguia wrote: On Mon, May 05, 2014 at 09:57:48AM -0700, Greg KH wrote: On Mon, May 05, 2014 at 06:40:13PM +0200, Fernando Apesteguia wrote: Small fix to driver. If these patches are welcomed, more could come in the future.

Re: [PATCH] staging: vt6655: correct coding style issue

2014-05-05 Thread Clément Calmels
On Sun, 4 May 2014 17:26:58 -0400 Greg KH g...@kroah.com wrote: On Sun, May 04, 2014 at 09:52:09PM +0200, Clément Calmels wrote: Remove C99 comment and rewrite lines over 80 characters. Warnings and error found by checkpatch.pl script. Signed-off-by: Clément Calmels

re: staging/lustre: Replace jobid acquiring with per node setting

2014-05-05 Thread Dan Carpenter
Hello Oleg Drokin, The patch 76133e66b141: staging/lustre: Replace jobid acquiring with per node setting from Apr 27, 2014, leads to the following static checker warning: drivers/staging/lustre/lustre/obdclass/class_obd.c:131 lustre_get_jobid() error: strcpy() 'obd_jobid_node'

Re: [PATCH] staging: rtl8712: fix potential leaks in r8712_set_key()

2014-05-05 Thread Christian Engelmayer
On Sat, 3 May 2014 20:27:35 -0400, Greg KH gre...@linuxfoundation.org wrote: On Thu, May 01, 2014 at 11:54:02PM +0200, Christian Engelmayer wrote: Fix potential leaks in the error paths of r8712_set_key(). In case the algorithm specific checks fail, the function returns without enqueuing or

Re: [PATCH] staging: et131x: add blank lines after declarations

2014-05-05 Thread Mark Einon
On Sun, May 04, 2014 at 07:26:51PM +0200, Maarten de Jonge wrote: Signed-off-by: Maarten de Jonge mdejonge1...@gmail.com Acked-by: Mark Einon mark.ei...@gmail.com ___ devel mailing list de...@linuxdriverproject.org

[PATCH] checkpatch: Improve missing blank line after declarations test

2014-05-05 Thread Joe Perches
A couple more modifications to the declarations tests. o Declarations can also be bitfields so exclude things with a colon o Make sure the current and previous lines are indented the same to avoid matching some macro where a struct type is passed on the previous line like:

Re: [PATCH] staging: vt6655: correct coding style issue

2014-05-05 Thread Greg KH
On Mon, May 05, 2014 at 09:16:03PM +0200, Clément Calmels wrote: On Sun, 4 May 2014 17:26:58 -0400 Greg KH g...@kroah.com wrote: On Sun, May 04, 2014 at 09:52:09PM +0200, Clément Calmels wrote: Remove C99 comment and rewrite lines over 80 characters. Warnings and error found by

[GIT PULL] Staging driver fixes for 3.15-rc5

2014-05-05 Thread Greg KH
The following changes since commit d1db0eea852497762cab43b905b879dfcd3b8987: Linux 3.15-rc3 (2014-04-27 19:29:27 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/ tags/staging-3.15-rc4 for you to fetch changes up to

Re: [PATCH] r8192e_pci driver broken 3.14+

2014-05-05 Thread Jouke Witteveen
A sparse error fixup removed a htons() which is required for the driver to function. This patch puts the htons() back and fixes the sparse warning correctly by changing the left side cast. Signed-off-by: Sean MacLennan seanm at seanm.ca I found that this patch is necessary and sufficient on

Re: [PATCH] [staging/silicom] Fixing missing blank line after declarations

2014-05-05 Thread Fernando Apesteguia
On Mon, May 05, 2014 at 10:38:37AM -0700, Greg KH wrote: On Mon, May 05, 2014 at 07:10:37PM +0200, Fernando Apesteguia wrote: On Mon, May 05, 2014 at 09:57:48AM -0700, Greg KH wrote: On Mon, May 05, 2014 at 06:40:13PM +0200, Fernando Apesteguia wrote: Small fix to driver. If these

Re: [PATCH] checkpatch: Improve missing blank line after declarations test

2014-05-05 Thread Andrew Morton
On Mon, 05 May 2014 13:12:16 -0700 Joe Perches j...@perches.com wrote: A couple more modifications to the declarations tests. o Declarations can also be bitfields so exclude things with a colon o Make sure the current and previous lines are indented the same to avoid matching some macro

Re: [PATCH] [staging/silicom] Fixing missing blank line after declarations

2014-05-05 Thread Dan Carpenter
Read some of these links. https://www.google.com/search?q=how+to+send+a+v2+patch Send the email to yourself. Save it as raw text including headers and everything. `cat raw_email.txt | git am`. Review the log with `git log`. When that works then resend it to the list. The subject of the email

Re: [PATCH] checkpatch: Improve missing blank line after declarations test

2014-05-05 Thread Joe Perches
On Mon, 2014-05-05 at 15:15 -0700, Andrew Morton wrote: On Mon, 05 May 2014 13:12:16 -0700 Joe Perches j...@perches.com wrote: A couple more modifications to the declarations tests. o Declarations can also be bitfields so exclude things with a colon o Make sure the current and previous

Re: [PATCH] checkpatch: Improve missing blank line after declarations test

2014-05-05 Thread Andrew Morton
On Mon, 05 May 2014 15:35:43 -0700 Joe Perches j...@perches.com wrote: @@ -67,6 +68,7 @@ long vfs_truncate(struct path *path, lof { struct inode *inode; long error; + wobble(); inode = path-dentry-d_inode; Patch content can be a bit odd when lines are both added

[RESEND PATCH] staging: vt6656: make spin_lock_irq() human readable

2014-05-05 Thread Martin Kepplinger
Don't require FIRMWAREbDownload() to, first off, unlock a held lock. Thus do all locking in main_usb.c and hold it for a insignificantly shorter period of time. This makes the affected area significantly more readable though. Signed-off-by: Martin Kepplinger mart...@posteo.de --- I resend