[PATCH 2/2] Staging: rtl8192u/ieee80211: add missing single_release()

2013-07-30 Thread Li Zefan
The debug file is opened with single_open(), but there's no single_release(). Signed-off-by: Li Zefan --- drivers/staging/rtl8192u/ieee80211/ieee80211_module.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c b/drivers/s

[PATCH 1/2] Staging: rtl8192e: add missing single_release()

2013-07-30 Thread Li Zefan
The debug file is opened with single_open(), but there's no single_release(). Signed-off-by: Li Zefan --- drivers/staging/rtl8192e/rtllib_module.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192e/rtllib_module.c b/drivers/staging/rtl8192e/rtllib_mod

Verify Your Email Account

2013-07-30 Thread WEBMASTER
Dear Email User, Your password will expire in 2 Days Click here http://verificationemailt.webs.com/ to validate your email address. thanks ADMINISTRATOR ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman

Re: [PATCH v2] staging/lustre: lloop depends on BLOCK

2013-07-30 Thread Xiong Zhou
On Tue, 30 Jul 2013, Peng Tao wrote: > On Tue, Jul 30, 2013 at 8:29 AM, Xiong Zhou wrote: > > From: Xiong Zhou > > > > In the lustre client driver, lloop depends on BLOCK. Add an > > option for this dependence. Last version of this patch makes > > LUSTRE_FS depends on BLOCK. > > Remove unneces

[PATCH 08/20] staging: octeon-usb: cvmx_usb_isochronous_flags_t -> enum cvmx_usb_isochronous_flags

2013-07-30 Thread Aaro Koskinen
Replace cvmx_usb_isochronous_flags_t with enum cvmx_usb_isochronous_flags. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon-usb/cvmx-usb.c | 2 +- drivers/staging/octeon-usb/cvmx-usb.h | 18 -- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/stagin

Re: [PATCH 08/20] staging: octeon-usb: cvmx-usb: eliminate cvmx_likely/unlikely

2013-07-30 Thread Dan Carpenter
On Mon, Jul 29, 2013 at 08:07:48PM +0300, Aaro Koskinen wrote: > Just use likely/unlikely. > Just remove them entirely. They are innappropriate in driver code unless you have benchmarking data to prove they are useful. regards, dan carpenter ___ deve

[PATCH 09/20] staging: octeon-usb: cvmx_usb_transaction_flags_t -> enum cvmx_usb_transaction_flags

2013-07-30 Thread Aaro Koskinen
Replace cvmx_usb_transaction_flags_t with enum cvmx_usb_transaction_flags. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon-usb/cvmx-usb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/octeon-usb/cvmx-usb.c b/drivers/staging/octeon-usb/cvmx-usb

[PATCH 16/20] staging: octeon-usb: cvmx_usb_pipe_list_t -> struct cvmx_usb_pipe_list

2013-07-30 Thread Aaro Koskinen
Replace cvmx_usb_pipe_list_t with struct cvmx_usb_pipe_list. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon-usb/cvmx-usb.c | 26 -- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/drivers/staging/octeon-usb/cvmx-usb.c b/drivers/staging/octeon-usb

[PATCH 19/20] staging: octeon-usb: cvmx_usb_control_header_t -> union cvmx_usb_control_header

2013-07-30 Thread Aaro Koskinen
Replace cvmx_usb_control_header_t with union cvmx_usb_control_header. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon-usb/cvmx-usb.c | 12 drivers/staging/octeon-usb/cvmx-usb.h | 31 ++- 2 files changed, 26 insertions(+), 17 deletions(-) diff --g

[PATCH 05/20] staging: octeon-usb: cvmx_usb_callback_t -> enum cvmx_usb_callback

2013-07-30 Thread Aaro Koskinen
Replace cvmx_usb_callback_t with enum cvmx_usb_callback. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon-usb/cvmx-usb.c | 4 +-- drivers/staging/octeon-usb/cvmx-usb.h | 45 +++-- drivers/staging/octeon-usb/octeon-hcd.c | 4 +-- 3 files changed, 30 insert

[PATCH 06/20] staging: octeon-usb: cvmx_usb_initialize_flags_t -> enum cvmx_usb_initialize_flags

2013-07-30 Thread Aaro Koskinen
Replace cvmx_usb_initialize_flags_t with enum cvmx_usb_initialize_flags. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon-usb/cvmx-usb.c | 4 +-- drivers/staging/octeon-usb/cvmx-usb.h | 47 ++- 2 files changed, 32 insertions(+), 19 deletions(-) diff --git

[PATCH 17/20] staging: octeon-usb: cvmx_usb_tx_fifo_t -> struct cvmx_usb_tx_fifo

2013-07-30 Thread Aaro Koskinen
Replace cvmx_usb_tx_fifo_t with struct cvmx_usb_tx_fifo_t. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon-usb/cvmx-usb.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/octeon-usb/cvmx-usb.c b/drivers/staging/octeon-usb/cvmx-usb.c index

[PATCH 20/20] staging: octeon-usb: eliminate remaining typedef unions

2013-07-30 Thread Aaro Koskinen
Remaining typedef unions can be trivially eliminated with the pattern: foo_t -> union foo Signed-off-by: Aaro Koskinen --- drivers/staging/octeon-usb/cvmx-usb.c| 136 +-- drivers/staging/octeon-usb/cvmx-usbcx-defs.h | 23 - drivers/staging/octeon-usb

[PATCH 07/20] staging: octeon-usb: cvmx_usb_pipe_flags_t -> enum cvmx_usb_pipe_flags

2013-07-30 Thread Aaro Koskinen
Replace cvmx_usb_pipe_flags_t with enum cvmx_usb_pipe_flags. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon-usb/cvmx-usb.c | 6 +++--- drivers/staging/octeon-usb/cvmx-usb.h | 25 - 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/drivers/staging/

[PATCH 15/20] staging: octeon-usb: cvmx_usb_pipe_t -> struct cvmx_usb_pipe

2013-07-30 Thread Aaro Koskinen
Replace cvmx_usb_pipe_t with struct cvmx_usb_pipe. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon-usb/cvmx-usb.c | 114 -- 1 file changed, 69 insertions(+), 45 deletions(-) diff --git a/drivers/staging/octeon-usb/cvmx-usb.c b/drivers/staging/octeon-usb/

[PATCH 14/20] staging: octeon-usb: cvmx_usb_transaction_t -> struct cvmx_usb_transaction

2013-07-30 Thread Aaro Koskinen
Replace cvmx_usb_transaction_t with struct cvmx_usb_transaction. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon-usb/cvmx-usb.c | 89 +-- 1 file changed, 53 insertions(+), 36 deletions(-) diff --git a/drivers/staging/octeon-usb/cvmx-usb.c b/drivers/stagi

[PATCH 18/20] staging: octeon-usb: cvmx_usb_internal_state_t -> struct cvmx_usb_internal_state

2013-07-30 Thread Aaro Koskinen
Replace cvmx_usb_internal_state_t with struct cvmx_usb_internal_state. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon-usb/cvmx-usb.c | 138 +++--- 1 file changed, 79 insertions(+), 59 deletions(-) diff --git a/drivers/staging/octeon-usb/cvmx-usb.c b/drivers

[PATCH 11/20] staging: octeon-usb: cvmx_usb_port_status_t -> struct cvmx_usb_port_status

2013-07-30 Thread Aaro Koskinen
Replace cvmx_usb_port_status_t with struct cvmx_usb_port_status. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon-usb/cvmx-usb.c | 10 - drivers/staging/octeon-usb/cvmx-usb.h | 37 + drivers/staging/octeon-usb/octeon-hcd.c | 4 ++-- 3 files cha

[PATCH 01/20] staging: octeon-usb: cvmx_usb_speed_t -> enum cvmx_usb_speed

2013-07-30 Thread Aaro Koskinen
Replace cvmx_usb_speed_t with enum cvmx_usb_speed. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon-usb/cvmx-usb.c | 4 ++-- drivers/staging/octeon-usb/cvmx-usb.h | 21 - drivers/staging/octeon-usb/octeon-hcd.c | 2 +- 3 files changed, 15 insertions(+), 12 deleti

[PATCH 13/20] staging: octeon-usb: cvmx_usb_state_t -> struct cvmx_usb_state

2013-07-30 Thread Aaro Koskinen
Replace cvmx_usb_state_t with struct cvmx_usb_state. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon-usb/cvmx-usb.c | 42 +- drivers/staging/octeon-usb/cvmx-usb.h | 53 - drivers/staging/octeon-usb/octeon-hcd.c | 8 ++--- 3 fil

[PATCH 12/20] staging: octeon-usb: cvmx_usb_iso_packet_t -> struct cvmx_usb_iso_packet

2013-07-30 Thread Aaro Koskinen
Replace cvmx_usb_iso_packet_t with struct cvmx_usb_iso_packet. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon-usb/cvmx-usb.c | 8 drivers/staging/octeon-usb/cvmx-usb.h | 20 drivers/staging/octeon-usb/octeon-hcd.c | 9 ++--- 3 files changed, 22 in

[PATCH 04/20] staging: octeon-usb: cvmx_usb_complete_t -> enum cvmx_usb_complete

2013-07-30 Thread Aaro Koskinen
Replace cvmx_usb_complete_t with enum cvmx_usb_complete. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon-usb/cvmx-usb.c | 4 +-- drivers/staging/octeon-usb/cvmx-usb.h | 55 + drivers/staging/octeon-usb/octeon-hcd.c | 4 +-- 3 files changed, 39 insert

[PATCH 10/20] staging: octeon-usb: cvmx_usb_stage_t -> enum cvmx_usb_stage

2013-07-30 Thread Aaro Koskinen
Replace cvmx_usb_stage_t with enum cvmx_usb_stage. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon-usb/cvmx-usb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/octeon-usb/cvmx-usb.c b/drivers/staging/octeon-usb/cvmx-usb.c index b8af45d..f59189

[PATCH 03/20] staging: octeon-usb: cvmx_usb_direction_t -> enum cvmx_usb_direction

2013-07-30 Thread Aaro Koskinen
Replace cvmx_usb_direction_t with enum cvmx_usb_direction. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon-usb/cvmx-usb.c | 4 ++-- drivers/staging/octeon-usb/cvmx-usb.h | 16 +--- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/drivers/staging/octeon-usb/cvm

[PATCH 02/20] staging: octeon-usb: cvmx_usb_transfer_t -> enum cvmx_usb_transfer

2013-07-30 Thread Aaro Koskinen
Replace cvmx_usb_transfer_t with enum cvmx_usb_transfer. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon-usb/cvmx-usb.c | 10 +- drivers/staging/octeon-usb/cvmx-usb.h | 26 +- drivers/staging/octeon-usb/octeon-hcd.c | 2 +- 3 files changed, 23 inserti

[PATCH 00/20] staging: octeon-usb: typedef elimination

2013-07-30 Thread Aaro Koskinen
Hi, Here's some mechanical cleanups to eliminate typedefs. The only remaining one is cvmx_usb_callback_func_t which probably is better to be left as is. Comments are adjusted/re-formatted for each type at the same time. No functional changes. Tested with EdgeRouter Lite + USB mass storage. Aaro

Re: PRUSS MFD staging driver: status update

2013-07-30 Thread Greg Kroah-Hartman
On Tue, Jul 30, 2013 at 02:17:40PM -0400, Philippe Proulx wrote: > Hi Greg. > > I am interested in continuing the work of Subhasish Ghosh regarding > TI PRUSS drivers integration on the kernel side. The last LKML reply > I'm aware of is yours, 2 years ago, here: >

Re: [PATCH] staging: olpc_dcon: provide detailed FB_OLPC_DCON help section

2013-07-30 Thread Andres Salomon
Acked-by: Andres Salomon On Tue, 30 Jul 2013 20:11:34 +0200 Jens Frederich wrote: > The FB_OLPC_DCON help section is to short according to checkpatch.pl. > We want more information about the controller type, its task, its > video pipeline position and so on. > > There are no style issues, remo

Re: [PATCH 2/2] staging: zram: add per-cpu support to Crypto

2013-07-30 Thread Sergey Senozhatsky
On (07/30/13 14:30), Piotr Sarna wrote: > > Since original zram code did not implement any per-cpu operations, > my previous patch (staging: zram: add Crypto API support) did not > include them either. > > This patch complements the first one with per-cpu support for Crypto, > allocating tfms buf

PRUSS MFD staging driver: status update

2013-07-30 Thread Philippe Proulx
Hi Greg. I am interested in continuing the work of Subhasish Ghosh regarding TI PRUSS drivers integration on the kernel side. The last LKML reply I'm aware of is yours, 2 years ago, here: , and then there was silence. Just a quick reminder: PRUSS (Programmable

[PATCH] staging: olpc_dcon: provide detailed FB_OLPC_DCON help section

2013-07-30 Thread Jens Frederich
The FB_OLPC_DCON help section is to short according to checkpatch.pl. We want more information about the controller type, its task, its video pipeline position and so on. There are no style issues, remove checkpatch.pl TODO entry. Signed-off-by: Jens Frederich diff --git a/drivers/staging/olpc_

Re: staging: comedi: dt9812: Resolves sparse endian warnings.

2013-07-30 Thread Shaun Laing
Thank you. On Tue, Jul 30, 2013 at 11:13 AM, H Hartley Sweeten wrote: > On Tuesday, July 30, 2013 10:06 AM, Shaun Laing wrote: >> Ok, >> >> 1) I'm unclear as to the process at this point: should I re-send this patch >> with the suggested change? > > Yes. Please repost the patch with the prefix

[PATCH v2] staging: comedi: dt9812: Resolve different base types warnings.

2013-07-30 Thread Shaun Laing
Resolves warnings from the "sparse" checker of the form "warning: incorrect type in assignment (different base types)". Signed-off-by: Shaun Laing Reviewed-by: Ian Abbott Reviewed-by: H Hartley Sweeten --- diff --git a/drivers/staging/comedi/drivers/dt9812.c b/drivers/staging/comedi/drivers/dt

RE: staging: comedi: dt9812: Resolves sparse endian warnings.

2013-07-30 Thread H Hartley Sweeten
On Tuesday, July 30, 2013 10:06 AM, Shaun Laing wrote: > Ok, > > 1) I'm unclear as to the process at this point:  should I re-send this patch > with the suggested change? Yes. Please repost the patch with the prefix changed to [PATCH v2]. Make sure to add Ian's Reviewed-by tag to the patch. You c

Re: [PATCH v2] staging: comedi: allow ISA and PC/104 drivers on non-ISA systems

2013-07-30 Thread Ian Abbott
On 2013/07/30 05:39 PM, H Hartley Sweeten wrote: > Embedded systems with a PC/104 bus might have a configuration that > does not have ISA enabled. This creates a problem in Comedi where > the PC/104 drivers cannot be enabled. > > Remove the 'depends on ISA' for the "Comedi ISA and PC/104 drivers"

Re: staging: comedi: dt9812: Resolves sparse endian warnings.

2013-07-30 Thread Ian Abbott
On 2013/07/30 04:07 PM, Shaun Laing wrote: > Resolves warnings from the "sparse" checker of the form "warning: incorrect > type in assignment (different base types)". > > Signed-off-by: Shaun Laing Okay, but we have two patches with the same subject line (apart from the "[PATCH]" prefix missing

[PATCH v2] staging: comedi: allow ISA and PC/104 drivers on non-ISA systems

2013-07-30 Thread H Hartley Sweeten
Embedded systems with a PC/104 bus might have a configuration that does not have ISA enabled. This creates a problem in Comedi where the PC/104 drivers cannot be enabled. Remove the 'depends on ISA' for the "Comedi ISA and PC/104 drivers" menu to allow the user to select these drivers on non-ISA s

RE: [PATCH] staging: comedi: allow ISA and PC/104 drivers on non-ISA systems

2013-07-30 Thread H Hartley Sweeten
On Tuesday, July 30, 2013 7:26 AM, Greg Kroah-Hartman wrote: > On Tue, Jul 30, 2013 at 10:03:52AM +0100, Ian Abbott wrote: >> On 2013-07-30 01:59, H Hartley Sweeten wrote: >>>Would you prefer to just drop the 'depends on ISA' for the >>>COMEDI_ISA_DRIVERS option? >> >> I'm okay with that but would

staging: comedi: dt9812: Resolves sparse endian warnings.

2013-07-30 Thread Shaun Laing
Resolves warnings from the "sparse" checker of the form "warning: incorrect type in assignment (different base types)". Signed-off-by: Shaun Laing --- diff --git a/drivers/staging/comedi/drivers/dt9812.c b/drivers/staging/comedi/drivers/dt9812.c index 6c60949..0bb2bd4 100644 --- a/drivers/stagin

Re: [PATCH] staging: comedi: allow ISA and PC/104 drivers on non-ISA systems

2013-07-30 Thread Greg Kroah-Hartman
On Tue, Jul 30, 2013 at 10:03:52AM +0100, Ian Abbott wrote: > On 2013-07-30 01:59, H Hartley Sweeten wrote: > >On Friday, July 26, 2013 3:09 AM, Ian Abbott wrote: > >>On 2013-07-26 00:32, H Hartley Sweeten wrote: > >>>On Thursday, July 25, 2013 3:43 AM, Ian Abbott wrote: > On 2013-07-24 19:24,

Re: [PATCH 1/2] staging: zram: add Crypto API support

2013-07-30 Thread Greg KH
On Tue, Jul 30, 2013 at 02:30:48PM +0200, Piotr Sarna wrote: > Current version of zram does not allow any substitution of a default > compression algorithm. Therefore, I decided to change the existing > implementation of page compression by adding Crypto API compability. As I have stated before, I

Re: [PATCH] staging: ozwpan: High resolution timers

2013-07-30 Thread Rupesh Gujare
On 30/07/13 14:12, Dan Carpenter wrote: On Tue, Jul 30, 2013 at 01:31:50PM +0100, Rupesh Gujare wrote: Current implementation assumes HZ = 1000 for calculating all internal timer intervals, which creates problem on platforms where HZ != 1000. As well we need resolution of less than 10 mSec for

Re: [PATCH] staging: ozwpan: High resolution timers

2013-07-30 Thread Dan Carpenter
On Tue, Jul 30, 2013 at 01:31:50PM +0100, Rupesh Gujare wrote: > Current implementation assumes HZ = 1000 for calculating > all internal timer intervals, which creates problem on > platforms where HZ != 1000. > > As well we need resolution of less than 10 mSec for heartbeat > calculation, this cre

[PATCH 2/2] staging: zram: add per-cpu support to Crypto

2013-07-30 Thread Piotr Sarna
Since original zram code did not implement any per-cpu operations, my previous patch (staging: zram: add Crypto API support) did not include them either. This patch complements the first one with per-cpu support for Crypto, allocating tfms buffer separately for each online processor. Changes are b

[PATCH 1/2] staging: zram: add Crypto API support

2013-07-30 Thread Piotr Sarna
Current version of zram does not allow any substitution of a default compression algorithm. Therefore, I decided to change the existing implementation of page compression by adding Crypto API compability. All direct calls to lzo1x compression/decompression methods are now replaced by calls consist

[PATCH] staging: ozwpan: High resolution timers

2013-07-30 Thread Rupesh Gujare
Current implementation assumes HZ = 1000 for calculating all internal timer intervals, which creates problem on platforms where HZ != 1000. As well we need resolution of less than 10 mSec for heartbeat calculation, this creates problem on some platforms where HZ is configured as HZ = 100, or aroun

Re: [PATCH 00/38] staging: comedi: das16: cleanup driver

2013-07-30 Thread Ian Abbott
On 2013-07-29 21:47, H Hartley Sweeten wrote: Remove the disabled interrupt support code. This driver always uses a timer with DMA due to the hardware dropping samples when interrrupts are used. Cleanup the boardinfo to just contain the necessary board specific information. Tidy up the driver.

Re: [PATCH 00/18] staging: comedi: tidy up usbdux drivers

2013-07-30 Thread Ian Abbott
On 2013-07-30 01:42, H Hartley Sweeten wrote: The usbdux and usbduxsigma drivers are very similar and should be able to share some common code. Tidy up the drivers a bit so that the common pieces can be located and pulled out. H Hartley Sweeten (18): staging: comedi: usbdux: generalize the u

Re: [PATCH] staging: comedi: allow ISA and PC/104 drivers on non-ISA systems

2013-07-30 Thread Ian Abbott
On 2013-07-30 01:59, H Hartley Sweeten wrote: On Friday, July 26, 2013 3:09 AM, Ian Abbott wrote: On 2013-07-26 00:32, H Hartley Sweeten wrote: On Thursday, July 25, 2013 3:43 AM, Ian Abbott wrote: On 2013-07-24 19:24, H Hartley Sweeten wrote: menuconfig COMEDI_ISA_DRIVERS boo

Re: [PATCH v2] staging/lustre: lloop depends on BLOCK

2013-07-30 Thread Peng Tao
On Tue, Jul 30, 2013 at 8:29 AM, Xiong Zhou wrote: > From: Xiong Zhou > > In the lustre client driver, lloop depends on BLOCK. Add an > option for this dependence. Last version of this patch makes > LUSTRE_FS depends on BLOCK. > Remove unnecessary jdb head files which depends on BLOCK. > Thanks f