[PATCH] rtlwifi: rtl8821ae: Fix 5G failure when EEPROM is incorrectly encoded

2016-01-20 Thread Larry Finger
Recently, it has been reported that D-Link DWA-582 cards, which use an RTL8812AE chip are not able to scan for 5G networks. The problems started with kernel 4.2, which is the first version that had commit d10101a60372 ("rtlwifi: rtl8821ae: Fix problem with regulatory information"). With this patch,

[PATCH 23/27] staging: wilc1000: rename pu32ReceivedLength in wilc_mq_recv

2016-01-20 Thread Chaehyun Lim
This patch renames pu32ReceivedLength to recv_len to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_msgqueue.c | 7 +++ drivers/staging/wilc1000/wilc_msgqueue.h | 3 +-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/staging/wilc1000/wi

[PATCH 24/27] staging: wilc1000: rename pstrMessage in wilc_mq_recv

2016-01-20 Thread Chaehyun Lim
This patch renames pstrMessage to msg to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_msgqueue.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_msgqueue.c b/drivers/staging/wilc1000/wilc_

[PATCH 18/27] staging: wilc1000: rename tail_msg in wilc_mq_send

2016-01-20 Thread Chaehyun Lim
This patch renames pstrTailMsg to tail_msg to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_msgqueue.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_msgqueue.c b/drivers/staging/wilc1000/wilc_msgqueue.c

[PATCH 14/27] staging: wilc1000: rename pHandle in wilc_mq_send

2016-01-20 Thread Chaehyun Lim
This patch renames pHandle to mq to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_msgqueue.c | 22 +++--- drivers/staging/wilc1000/wilc_msgqueue.h | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/staging/wilc1000/w

[PATCH 13/27] staging: wilc1000: rename pstrMessge in wilc_mq_destroy

2016-01-20 Thread Chaehyun Lim
This patch renames pstrMessge to msg to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_msgqueue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_msgqueue.c b/drivers/staging/wilc1000/wilc_msgqueue.c index 103

[PATCH 27/27] staging: wilc1000: remove over-commenting

2016-01-20 Thread Chaehyun Lim
There are over-commenting in wilc_msgqueue.h file. This comment is not explain exactly what codes do and make checkpatch warning about "line over 80 charcters". If necessary, comment will be added later with preferred coding style. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_ms

[PATCH 21/27] staging: wilc1000: rename pvRecvBuffer in wilc_mq_recv

2016-01-20 Thread Chaehyun Lim
This patch renames pvRecvBuffer to recv_buf to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_msgqueue.c | 8 drivers/staging/wilc1000/wilc_msgqueue.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_msg

[PATCH 22/27] staging: wilc1000: rename u32RecvBufferSize in wilc_mq_recv

2016-01-20 Thread Chaehyun Lim
This patch renames u32RecvBufferSize to recv_buf_size to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_msgqueue.c | 8 drivers/staging/wilc1000/wilc_msgqueue.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/wilc100

[PATCH 09/27] staging: wilc1000: rename u32ReceiversCount in struct message_queue

2016-01-20 Thread Chaehyun Lim
This patch renames u32ReceiversCount to recv_count to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_msgqueue.c | 10 +- drivers/staging/wilc1000/wilc_msgqueue.h | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/wilc10

[PATCH 26/27] staging: wilc1000: fix logical continuations

2016-01-20 Thread Chaehyun Lim
This patch fixes logical continuations found by checkpatch CHECK: Logical continuations should be on the previous line Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_msgqueue.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_msgq

[PATCH 20/27] staging: wilc1000: rename pHandle in wilc_mq_recv

2016-01-20 Thread Chaehyun Lim
This patch renames pHandle to mq to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_msgqueue.c | 34 drivers/staging/wilc1000/wilc_msgqueue.h | 2 +- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/drivers/staging/

[PATCH 19/27] staging: wilc1000: fix return error code

2016-01-20 Thread Chaehyun Lim
Three argument are checked at the beginning of wilc_mq_send whether they are valid arguments or not. It is correct to use return error code as -EINVAL, not -EFAULT. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_msgqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

[PATCH 17/27] staging: wilc1000: rename pstrMessage in wilc_mq_send

2016-01-20 Thread Chaehyun Lim
This patch renames pstrMessage to new_msg to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_msgqueue.c | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_msgqueue.c b/drivers/staging/wilc1000/

[PATCH 16/27] staging: wilc1000: rename u32SendBufferSize in wilc_mq_send

2016-01-20 Thread Chaehyun Lim
This patch renames u32SendBufferSize to send_buf_size to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_msgqueue.c | 8 drivers/staging/wilc1000/wilc_msgqueue.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/wilc100

[PATCH 10/27] staging: wilc1000: rename pstrMessageList in struct message_queue

2016-01-20 Thread Chaehyun Lim
This patch renames pstrMessageList to msg_list to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_msgqueue.c | 20 ++-- drivers/staging/wilc1000/wilc_msgqueue.h | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/stagin

[PATCH 08/27] staging: wilc1000: rename bExiting in struct message_queue

2016-01-20 Thread Chaehyun Lim
This patch renames bExiting to exiting to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_msgqueue.c | 8 drivers/staging/wilc1000/wilc_msgqueue.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_msgqueue

[PATCH 12/27] staging: wilc1000: rename pHandle in wilc_mq_destroy

2016-01-20 Thread Chaehyun Lim
This patch renames pHandle to mq to avoid camelcase Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_msgqueue.c | 18 +- drivers/staging/wilc1000/wilc_msgqueue.h | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_m

[PATCH 25/27] staging: wilc1000: fix coding style of kmalloc usage

2016-01-20 Thread Chaehyun Lim
This patch fixes coding style of kmalloc usage found by checkpatch. CHECK: Prefer kmalloc(sizeof(*new_msg)...) over kmalloc(sizeof(struct message)...) Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_msgqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dri

[PATCH 07/27] staging: wilc1000: rename strCriticalSection in struct message_queue

2016-01-20 Thread Chaehyun Lim
This patch renames strCriticalSection to lock to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_msgqueue.c | 18 +- drivers/staging/wilc1000/wilc_msgqueue.h | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/staging/w

[PATCH 06/27] staging: wilc1000: rename hSem in struct message_queue

2016-01-20 Thread Chaehyun Lim
This patch renames hSem to sem to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_msgqueue.c | 10 +- drivers/staging/wilc1000/wilc_msgqueue.h | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_msgqueue.c

[PATCH 11/27] staging: wilc1000: rename pHandle in wilc_mq_create

2016-01-20 Thread Chaehyun Lim
This patch renames pHandle to mq to avoid camelcase Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_msgqueue.c | 12 ++-- drivers/staging/wilc1000/wilc_msgqueue.h | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_msgqueue.

[PATCH 03/27] staging: wilc1000: rename u32Length in struct message

2016-01-20 Thread Chaehyun Lim
This patch renames u32Length to len to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_msgqueue.c | 8 drivers/staging/wilc1000/wilc_msgqueue.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_msgqueue.c

[PATCH 15/27] staging: wilc1000: rename pvSendBuffer in wilc_mq_send

2016-01-20 Thread Chaehyun Lim
This patch renames pvSendBuffer to send_buf to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_msgqueue.c | 8 drivers/staging/wilc1000/wilc_msgqueue.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_msg

[PATCH 05/27] staging: wilc1000: rename struct WILC_MsgQueueHandle

2016-01-20 Thread Chaehyun Lim
This patch removes typedef from struct WILC_MsgQueueHandle and renames it to struct message_queue. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 2 +- drivers/staging/wilc1000/wilc_msgqueue.c | 14 +++--- drivers/staging/wilc1000/wilc_msgqueue.h | 18

[PATCH 04/27] staging: wilc1000: rename pstrNext in struct message

2016-01-20 Thread Chaehyun Lim
This patch renames pstrNext to next to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_msgqueue.c | 12 ++-- drivers/staging/wilc1000/wilc_msgqueue.h | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_msgqu

[PATCH 02/27] staging: wilc1000: rename pvBuffer in struct message

2016-01-20 Thread Chaehyun Lim
This patch renames pvBuffer to buf to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_msgqueue.c | 10 +- drivers/staging/wilc1000/wilc_msgqueue.h | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_msgqueue

[PATCH 01/27] staging: wilc1000: rename struct __Message_struct

2016-01-20 Thread Chaehyun Lim
This patch renames typedef from struct __Message_struct and renames it to struct message. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_msgqueue.c | 10 +- drivers/staging/wilc1000/wilc_msgqueue.h | 8 2 files changed, 9 insertions(+), 9 deletions(-) diff --git

[PATCH] Staging: comedi: s626: Remove unnecessary cast on void pointer

2016-01-20 Thread Lucas Tanure
The conversion from void pointer to any other pointer type is guaranteed by the C programming language. Signed-off-by: Lucas Tanure --- drivers/staging/comedi/drivers/s626.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/comedi/drivers/s626.c b/drive

Re: [PATCH] Staging: panel: Fix sparse warnings (line length, space after a cast) in panel.c

2016-01-20 Thread Arthur Marble
On Wed, Jan 20, 2016 at 11:23:33PM +0100, Willy Tarreau wrote: > Hello Arthur, > > On Wed, Jan 20, 2016 at 03:09:20PM -0600, Arthur Marble wrote: > > This patch fixes 'Lines longer than 80 columns' and 'No space is necessary > > after > > a cast' warnings in /drivers/staging/panel/panel.c. > > T

Re: [PATCH] Staging: panel: Fix sparse warnings (line length, space after a cast) in panel.c

2016-01-20 Thread Willy Tarreau
Hello Arthur, On Wed, Jan 20, 2016 at 03:09:20PM -0600, Arthur Marble wrote: > This patch fixes 'Lines longer than 80 columns' and 'No space is necessary > after > a cast' warnings in /drivers/staging/panel/panel.c. Thank you but this one has already been proposed twice and I think the last one

[PATCH] Staging: panel: Fix sparse warnings (line length, space after a cast) in panel.c

2016-01-20 Thread Arthur Marble
This patch fixes 'Lines longer than 80 columns' and 'No space is necessary after a cast' warnings in /drivers/staging/panel/panel.c. Signed-off-by: Arthur Marble --- drivers/staging/panel/panel.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/staging/panel/pan

[PATCH v2] Staging: goldfish: goldfish_nand: Add DMA Support using dmam_alloc_coherent

2016-01-20 Thread Shraddha Barke
Function nand_setup_cmd_params has 2 goals- -Initialize the cmd_params field so that it can be used to send and read commands from the device. -Get a bus address for the allocated memory to transfer to the device. Replace the combination of devm_kzalloc and _pa() with dmam_alloc_coherent. Coheren

[PATCH] staging:lustre:obdclass:linux:convert &foo[0] to foo

2016-01-20 Thread Bhumika Goyal
Replace &foo[0] with foo,to follow Linux coding style. Signed-off-by: Bhumika Goyal --- drivers/staging/lustre/lustre/obdclass/linux/linux-module.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/lustre/lustre/obdclass/linux/linux-module.c b/drivers/s

Re: [PATCH 1/2] Staging:lustre:obdclass:linux:remove unnecessary braces

2016-01-20 Thread Joe Perches
On Thu, 2016-01-21 at 00:17 +0530, Bhumika Goyal wrote: > Fixed 'braces {} are not necessary for single statement blocks' > checkpatch.pl warning. [] > diff --git a/drivers/staging/lustre/lustre/obdclass/linux/linux-module.c > b/drivers/staging/lustre/lustre/obdclass/linux/linux-module.c [] > @@ -

Can you be trusted

2016-01-20 Thread Robert Robertphillip
Good Day Friend, With all due respect to your person, as we have not met in anywhere before, please permit me in drawing your attention to this proposal. Despite the fact that we have not met or done anything before, I want to assure you that this proposal will definitely benefit both of us. So

[PATCH 2/2] Staging:lustre:obdclass:linux:simplify NULL comparison

2016-01-20 Thread Bhumika Goyal
Remove explicit NULL comparision and replace it with a simpier form. Detected using checkpatch.pl. Signed-off-by: Bhumika Goyal --- drivers/staging/lustre/lustre/obdclass/linux/linux-module.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/lustre/lustre/

[PATCH 0/2]Staging:lustre:obdclass:linux:fix checkpatch.pl warnings

2016-01-20 Thread Bhumika Goyal
This patch series addresses checkpatch.pl warnings in lustre driver. Bhumika Goyal (2): Staging:lustre:obdclass:linux:remove unnecessary braces Staging:lustre:obdclass:linux:simplify NULL comparison drivers/staging/lustre/lustre/obdclass/linux/linux-module.c | 12 +--- 1 file change

[PATCH 1/2] Staging:lustre:obdclass:linux:remove unnecessary braces

2016-01-20 Thread Bhumika Goyal
Fixed 'braces {} are not necessary for single statement blocks' checkpatch.pl warning. Signed-off-by: Bhumika Goyal --- drivers/staging/lustre/lustre/obdclass/linux/linux-module.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/lustre/lustre/obdclass/lin

Re: [RFC 00/29] De-stage android's sync framework

2016-01-20 Thread Gustavo Padovan
2016-01-20 Maarten Lankhorst : > Op 20-01-16 om 15:32 schreef Gustavo Padovan: > > 2016-01-20 Maarten Lankhorst : > > > >> Hey, > >> > >> Op 15-01-16 om 15:55 schreef Gustavo Padovan: > >>> From: Gustavo Padovan > >>> > >>> This patch series de-stage the sync framework, and in order to accomplish

Re: [RFC 00/29] De-stage android's sync framework

2016-01-20 Thread Daniel Vetter
On Wed, Jan 20, 2016 at 04:02:31PM +0100, Maarten Lankhorst wrote: > Op 20-01-16 om 15:32 schreef Gustavo Padovan: > > 2016-01-20 Maarten Lankhorst : > > > >> Hey, > >> > >> Op 15-01-16 om 15:55 schreef Gustavo Padovan: > >>> From: Gustavo Padovan > >>> > >>> This patch series de-stage the sync fr

Re: [RFC 00/29] De-stage android's sync framework

2016-01-20 Thread Maarten Lankhorst
Op 20-01-16 om 15:32 schreef Gustavo Padovan: > 2016-01-20 Maarten Lankhorst : > >> Hey, >> >> Op 15-01-16 om 15:55 schreef Gustavo Padovan: >>> From: Gustavo Padovan >>> >>> This patch series de-stage the sync framework, and in order to accomplish >>> that >>> a bunch of cleanups/improvements on

Re: [RFC 00/29] De-stage android's sync framework

2016-01-20 Thread Gustavo Padovan
2016-01-20 Maarten Lankhorst : > Hey, > > Op 15-01-16 om 15:55 schreef Gustavo Padovan: > > From: Gustavo Padovan > > > > This patch series de-stage the sync framework, and in order to accomplish > > that > > a bunch of cleanups/improvements on the sync and fence were made. > > > > The sync fra

Re: [PATCH 1/2] staging:iio:adc:added space around '-'

2016-01-20 Thread Dan Carpenter
On Fri, Jan 15, 2016 at 09:15:52PM +0100, Lars-Peter Clausen wrote: > On 01/15/2016 08:42 PM, Bhumika Goyal wrote: > > This patch adds apace around '-' operator.Found using checkpatch.pl > > > > Signed-off-by: Bhumika Goyal > > --- > > drivers/staging/iio/adc/ad7280a.c | 4 ++-- > > 1 file chang

[PATCH] staging: rtl8192e: prefer using eth_broadcast_addr()

2016-01-20 Thread Gujulan Elango, Hari Prasath (H.)
From: Hari Prasath Gujulan Elango Prefer using the eth_broadcast_addr() instead of memset to broadcast address 0xFF to the array. Signed-off-by: Hari Prasath Gujulan Elango --- drivers/staging/rtl8192e/rtllib_softmac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/driv

[PATCH] staging: rtl8188eu: use eth_broadcast_addr() in place of memset

2016-01-20 Thread Gujulan Elango, Hari Prasath (H.)
From: Hari Prasath Gujulan Elango Replace the memset of array to broadcast address 0xFF by using the eth_broadcast_addr() API Signed-off-by: Hari Prasath Gujulan Elango --- drivers/staging/rtl8188eu/os_dep/ioctl_linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

Re: [RFC 00/29] De-stage android's sync framework

2016-01-20 Thread Maarten Lankhorst
Hey, Op 15-01-16 om 15:55 schreef Gustavo Padovan: > From: Gustavo Padovan > > This patch series de-stage the sync framework, and in order to accomplish that > a bunch of cleanups/improvements on the sync and fence were made. > > The sync framework contained some abstractions around struct fence

Re: [PATCH] Staging: goldfish: Add DMA support using dma_alloc_coherent

2016-01-20 Thread Shraddha Barke
On Tue, 19 Jan 2016, Alan Cox wrote: Yes I will free it using dma_free_coherent. Why should devm_kzalloc be replaced with dma_alloc_coherent ? I was trying to replace _pa() Why keep allocating and freeing a buffer rather than having a single buffer allocated once (as it is in the old driver)