[PATCH 81/87] staging: wlang-ng: avoid new typedef: hfa384x_cmdresult_t

2016-09-28 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_cmdresult_t Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x.h | 6 +++--- drivers/staging/wlan-ng/hfa384x_usb.c | 16 2

[PATCH 66/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_level_comp_setup_t

2016-09-28 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_pdr_level_comp_setup_t Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[PATCH 82/87] staging: wlang-ng: avoid new typedef: hfa384x_rridresult_t

2016-09-28 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_rridresult_t Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x.h | 4 ++-- drivers/staging/wlan-ng/hfa384x_usb.c | 6 +++--- 2 files

[PATCH 71/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_hfa3861_shadow_t

2016-09-28 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_pdr_hfa3861_shadow_t Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[PATCH 74/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_hfa3861_chcali_t

2016-09-28 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_pdr_hfa3861_chcali_t Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[PATCH 72/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_hfa3861_ifrf_t

2016-09-28 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_pdr_hfa3861_ifrf_t Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 65/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_vgdac_setup_t

2016-09-28 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_pdr_vgdac_setup_t Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a

[PATCH 75/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_nic_config_t

2016-09-28 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_pdr_nic_config_t Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a

[PATCH 76/87] staging: wlang-ng: avoid new typedef: hfa384x_hfo_delay_t

2016-09-28 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_hfo_delay_t Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a

[PATCH 83/87] staging: wlang-ng: avoid new typedef: hfa384x_usbctlx_t

2016-09-28 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_usbctlx_t Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x.h | 4 +-- drivers/staging/wlan-ng/hfa384x_usb.c | 54

[PATCH 78/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_hfa3861_manf_testi_t

2016-09-28 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_pdr_hfa3861_manf_testi_t Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[PATCH 85/87] staging: wlang-ng: avoid new typedef: hfa384x_metacmd_t

2016-09-28 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_metacmd_t Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x.h | 4 ++-- drivers/staging/wlan-ng/hfa384x_usb.c | 18 +- 2

[PATCH 79/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_end_of_pda_t

2016-09-28 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_pdr_end_of_pda_t Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a

[PATCH 87/87] staging: wlang-ng: Fix block comments style warnings in hfa384x.h

2016-09-28 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: Block comments use * on subsequent lines No more warnings block comments warnings for this file. Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x.h | 124 +++--- 1

[PATCH 68/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_ifr_setting_t

2016-09-28 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_pdr_ifr_setting_t Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a

[PATCH 73/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_hfa3861_chcalsp_t

2016-09-28 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_pdr_hfa3861_chcalsp_t Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[PATCH 84/87] staging: wlang-ng: avoid new typedef: hfa384x_usbctlxq_t

2016-09-28 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_usbctlxq_t Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a

[PATCH 77/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_hfa3861_manf_testsp_t

2016-09-28 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_pdr_hfa3861_manf_testsp_t Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[PATCH 86/87] staging: wlang-ng: avoid new typedef: hfa384x_t

2016-09-28 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_t Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x.h | 60 ++-- drivers/staging/wlan-ng/hfa384x_usb.c | 170

[PATCH 23/87] staging: wlang-ng: avoid new typedef: hfa384x_AssocStatus_t

2016-09-28 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_AssocStatus_t Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x.h | 6 +++--- drivers/staging/wlan-ng/prism2sta.c | 2 +- 2 files changed, 4

[PATCH 33/87] staging: wlang-ng: avoid new typedef: hfa384x_usb_wmemreq_t

2016-09-28 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_usb_wmemreq_t Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a

[PATCH 46/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_pcb_partnum_t

2016-09-28 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_pdr_pcb_partnum_t Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a

[PATCH 47/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_pcb_tracenum_t

2016-09-28 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_pdr_pcb_tracenum_t Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 43/87] staging: wlang-ng: avoid new typedef: hfa384x_usb_error_t

2016-09-28 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_usb_error_t Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a

[PATCH 37/87] staging: wlang-ng: avoid new typedef: hfa384x_usb_cmdresp_t

2016-09-28 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_usb_cmdresp_t Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x.h | 10 +- drivers/staging/wlan-ng/hfa384x_usb.c | 8 2

[PATCH 25/87] staging: wlang-ng: avoid new typedef: hfa384x_PSUserCount_t

2016-09-28 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_PSUserCount_t Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a

[PATCH 42/87] staging: wlang-ng: avoid new typedef: hfa384x_usb_bufavail_t

2016-09-28 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_usb_bufavail_t Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a

Re: [PATCH 00/87] Fix some style warnings in hfa384x.h

2016-10-02 Thread Sergio Paracuellos
El 2016年10月02日 a las 17:07, Greg KH escribió: On Wed, Sep 28, 2016 at 08:18:53PM +0200, Sergio Paracuellos wrote: This patch series fix some warnings reported by checkpatch.pl script in hfa384x.h: WARNING: Block comments use * on subsequent lines WARNING: Block comments use a trailing */ on

[PATCH 08/15] staging: wlang-ng: fix line style warnings in p80211req.c

2016-10-03 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in p80211req.c: WARNING: line over 80 characters Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211req.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wlan-ng/p80211req.c b/drivers

[PATCH 03/15] staging: wlang-ng: fix block comment warnings in p80211conv.c

2016-10-03 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in p80211conv.c: WARNING: Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211conv.c | 318 +-- 1 file changed, 159 insertions(+), 159 deletions

[PATCH 12/15] staging: wlang-ng: fix block comment warnings in prism2mib.c

2016-10-03 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in prism2mib.c: WARNING: Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/prism2mib.c | 100 ++-- 1 file changed, 50 insertions(+), 50 deletions

[PATCH 05/15] staging: wlang-ng: fix block comment warnings in p80211netdev.c

2016-10-03 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in p80211netdev.c: WARNING: Block comments should align the * on each line WARNING: Block comments use a trailing */ on a separate line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211netdev.c | 613

[PATCH 07/15] staging: wlang-ng: fix block comment warnings in p80211req.c

2016-10-03 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in p80211req.c: WARNING: Block comments should align the * on each line WARNING: Block comments use a trailing */ on a separate line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211req.c | 166

[PATCH 15/15] staging: wlang-ng: fix block comment warnings in prism2fw.c

2016-10-03 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in prism2fw.c WARNING: Block comments should align the * on each line WARNING: Block comments use a trailing */ on a separate line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/prism2fw.c | 485

[PATCH 09/15] staging: wlang-ng: fix block comment warnings in p80211wep.c

2016-10-03 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in p80211wep.c: WARNING: Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211wep.c | 90 ++--- 1 file changed, 45 insertions(+), 45 deletions

[PATCH 13/15] staging: wlang-ng: fix block comment warnings in prism2sta.c

2016-10-03 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in prism2sta.c: WARNING: Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/prism2sta.c | 36 ++-- 1 file changed, 18 insertions(+), 18 deletions

[PATCH] staging: wlang-ng: avoid new typedef CTLX_STATE

2016-10-03 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef CTLX_STATE Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x.h | 3 +-- drivers/staging/wlan-ng/hfa384x_usb.c | 2 +- 2 files changed, 2 insertions

[PATCH 4/9] staging: wlang-ng: fix block comments style in p80211metadef.h

2016-10-03 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in p80211metadef.h Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211metadef.h | 88 - 1 file changed, 44 insertions(+), 44 deletions(-) diff

[PATCH 0/9] staging: wlang-ng: fix block comments style warning in header files

2016-10-03 Thread Sergio Paracuellos
This patch series fix checkpatch.pl script reported warning Block comments should align the * on each line Sergio Paracuellos (9): staging: wlang-ng: fix block comments style in p80211conv.h staging: wlang-ng: fix block comments style in p80211hdr.h staging: wlang-ng: fix block comments

[PATCH 9/9] staging: wlang-ng: fix block comments style in prism2mgmt.h

2016-10-03 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in prism2mgmt.h Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/prism2mgmt.h | 122 ++- 1 file changed, 62 insertions(+), 60 deletions(-) diff --git

[PATCH 5/9] staging: wlang-ng: fix block comments style in p80211mgmt.h

2016-10-03 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in p80211mgmt.h: Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211mgmt.h | 194 +-- 1 file changed, 97 insertions(+), 97 deletions(-) diff

[PATCH 2/9] staging: wlang-ng: fix block comments style in p80211hdr.h

2016-10-03 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in p80211hdr.h: Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211hdr.h | 114 ++-- 1 file changed, 57 insertions(+), 57 deletions(-) diff --git

[PATCH 6/9] staging: wlang-ng: fix block comments style in p80211msg.h

2016-10-03 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in p80211msg.h Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211msg.h | 90 ++--- 1 file changed, 45 insertions(+), 45 deletions(-) diff --git

[PATCH 1/9] staging: wlang-ng: fix block comments style in p80211conv.h

2016-10-03 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in p80211conv.h: Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211conv.h | 100 +-- 1 file changed, 50 insertions(+), 50 deletions(-) diff

[PATCH 7/9] staging: wlang-ng: fix block comments style in p80211netdev.h

2016-10-03 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in p80211netdev.h Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211netdev.h | 100 - 1 file changed, 50 insertions(+), 50 deletions(-) diff

[PATCH 3/9] staging: wlang-ng: fix block comments style in p80211ioctl.h

2016-10-03 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in p80211ioctl.h Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211ioctl.h | 120 +- 1 file changed, 60 insertions(+), 60 deletions(-) diff

[PATCH 8/9] staging: wlang-ng: fix block comments style in p80211req.h

2016-10-03 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in p80211req.h Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211req.h | 90 ++--- 1 file changed, 45 insertions(+), 45 deletions(-) diff --git

[PATCH 01/15] staging: wlang-ng: fix line style warnings in hfa384x_usb.c

2016-10-03 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in hfa384x_usb.c: WARNING: line over 80 characters Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x_usb.c | 71 +++ 1 file changed, 38 insertions(+), 33 deletions(-) diff --git a/drivers

[PATCH 04/15] staging: wlang-ng: fix line style warnings in p80211netdev.c

2016-10-03 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in p80211netdev.c: WARNING: line over 80 characters Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211netdev.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wlan-ng

[PATCH 00/15] staging: wlang-ng: Fix several style issues in several source files.

2016-10-03 Thread Sergio Paracuellos
This patch series fix some of the following checkpatch.pl reported warnings: WARNING: line over 80 characters WARNING: Block comments should align the * on each line WARNING: Block comments use a trailing */ on a separate line WARNING: ENOSYS means 'invalid syscall nr' and nothing el

[PATCH 02/15] staging: wlang-ng: fix block comment warnings in hfa384x_usb.c

2016-10-03 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in hfa384x_usb.c: WARNING: Block comments should align the * on each line WARNING: Block comments use a trailing */ on a separate line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x_usb.c | 2370

[PATCH 06/15] staging: wlang-ng: do not return -ENOSYS

2016-10-03 Thread Sergio Paracuellos
Fixed coding style issue by replacing ENOSYS with EINVAL. This patch fix the following checkpatch.pl warnings in p80211netdev.c: WARNING: ENOSYS means 'invalid syscall nr' and nothing else Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211netdev.c | 6 +++--- 1 fi

[PATCH 10/15] staging: wlang-ng: fix line style warnings in p80211wep.c

2016-10-03 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in p80211wep.c: WARNING: line over 80 characters Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211wep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wlan-ng/p80211wep.c b/drivers

[PATCH 11/15] staging: wlang-ng: fix block comment warnings in prism2mgmt.c

2016-10-03 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in prism2mgmt.c: WARNING: Block comments should align the * on each line WARNING: Block comments use a trailing */ on a separate line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/prism2mgmt.c | 518

[PATCH 14/15] staging: wlang-ng: fix line style warnings in prism2sta.c

2016-10-03 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in prism2sta.c: WARNING: line over 80 characters Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/prism2sta.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wlan-ng/prism2sta.c b

[PATCH] staging: wlang-ng: get memory from kernel allocators instead of big static buffer

2016-10-03 Thread Sergio Paracuellos
This patch fix the following sparse warnings in prism2fw.c: warning: memset with byte count of 12 Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/prism2fw.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wlan-ng/prism2fw.c b

Re: [PATCH 14/15] staging: wlang-ng: fix line style warnings in prism2sta.c

2016-10-03 Thread Sergio Paracuellos
El 2016年10月03日 a las 18:16, Joe Perches escribió: On Mon, 2016-10-03 at 18:04 +0200, Sergio Paracuellos wrote: This patch fix the following checkpatch.pl warnings in prism2sta.c: WARNING: line over 80 characters [] diff --git a/drivers/staging/wlan-ng/prism2sta.c b/drivers/staging/wlan-ng

Re: [PATCH 14/15] staging: wlang-ng: fix line style warnings in prism2sta.c

2016-10-03 Thread Sergio Paracuellos
El 2016年10月03日 a las 20:18, Joe Perches escribió: On Mon, 2016-10-03 at 20:12 +0200, Sergio Paracuellos wrote: El 2016年10月03日 a las 18:16, Joe Perches escribió: Perhaps better as hw->scanresults = kmemdup(inf, sizeof(*inf), GFP_ATOMIC); I agree. But because all the code is full

[PATCH 00/15] staging: wlan-ng: Fix several style issues in several source files.

2016-10-09 Thread Sergio Paracuellos
This patch series fix some of the following checkpatch.pl reported warnings: WARNING: line over 80 characters WARNING: Block comments should align the * on each line WARNING: Block comments use a trailing */ on a separate line WARNING: ENOSYS means 'invalid syscall nr' and nothing el

[PATCH 01/15] staging: wlan-ng: fix line style warnings in hfa384x_usb.c

2016-10-09 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in hfa384x_usb.c: WARNING: line over 80 characters Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x_usb.c | 71 +++ 1 file changed, 38 insertions(+), 33 deletions(-) diff --git a/drivers

[PATCH 06/15] staging: wlan-ng: do not return -ENOSYS

2016-10-09 Thread Sergio Paracuellos
Fixed coding style issue by replacing ENOSYS with EINVAL. This patch fix the following checkpatch.pl warnings in p80211netdev.c: WARNING: ENOSYS means 'invalid syscall nr' and nothing else Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211netdev.c | 6 +++--- 1 fi

[PATCH 03/15] staging: wlan-ng: fix block comment warnings in p80211conv.c

2016-10-09 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in p80211conv.c: WARNING: Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211conv.c | 318 +-- 1 file changed, 159 insertions(+), 159 deletions

[PATCH 07/15] staging: wlan-ng: fix block comment warnings in p80211req.c

2016-10-09 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in p80211req.c: WARNING: Block comments should align the * on each line WARNING: Block comments use a trailing */ on a separate line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211req.c | 166

[PATCH 04/15] staging: wlan-ng: fix line style warnings in p80211netdev.c

2016-10-09 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in p80211netdev.c: WARNING: line over 80 characters Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211netdev.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wlan-ng

[PATCH 08/15] staging: wlan-ng: fix line style warnings in p80211req.c

2016-10-09 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in p80211req.c: WARNING: line over 80 characters Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211req.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wlan-ng/p80211req.c b/drivers

[PATCH 05/15] staging: wlan-ng: fix block comment warnings in p80211netdev.c

2016-10-09 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in p80211netdev.c: WARNING: Block comments should align the * on each line WARNING: Block comments use a trailing */ on a separate line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211netdev.c | 613

[PATCH 09/15] staging: wlan-ng: fix block comment warnings in p80211wep.c

2016-10-09 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in p80211wep.c: WARNING: Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211wep.c | 90 ++--- 1 file changed, 45 insertions(+), 45 deletions

[PATCH 02/15] staging: wlan-ng: fix block comment warnings in hfa384x_usb.c

2016-10-09 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in hfa384x_usb.c: WARNING: Block comments should align the * on each line WARNING: Block comments use a trailing */ on a separate line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x_usb.c | 2370

[PATCH 11/15] staging: wlan-ng: fix block comment warnings in prism2mgmt.c

2016-10-09 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in prism2mgmt.c: WARNING: Block comments should align the * on each line WARNING: Block comments use a trailing */ on a separate line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/prism2mgmt.c | 518

[PATCH 10/15] staging: wlan-ng: fix line style warnings in p80211wep.c

2016-10-09 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in p80211wep.c: WARNING: line over 80 characters Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211wep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wlan-ng/p80211wep.c b/drivers

[PATCH] staging: wlan-ng: get memory from kernel allocators instead of big static buffer

2016-10-09 Thread Sergio Paracuellos
This patch fix the following sparse warnings in prism2fw.c: warning: memset with byte count of 12 Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/prism2fw.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wlan-ng/prism2fw.c b

[PATCH 13/15] staging: wlan-ng: fix block comment warnings in prism2sta.c

2016-10-09 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in prism2sta.c: WARNING: Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/prism2sta.c | 36 ++-- 1 file changed, 18 insertions(+), 18 deletions

[PATCH 12/15] staging: wlan-ng: fix block comment warnings in prism2mib.c

2016-10-09 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in prism2mib.c: WARNING: Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/prism2mib.c | 100 ++-- 1 file changed, 50 insertions(+), 50 deletions

[PATCH] staging: wlan-ng: avoid new typedef CTLX_STATE

2016-10-09 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef CTLX_STATE Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x.h | 3 +-- drivers/staging/wlan-ng/hfa384x_usb.c | 2 +- 2 files changed, 2 insertions

[PATCH 15/15] staging: wlan-ng: fix block comment warnings in prism2fw.c

2016-10-09 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in prism2fw.c WARNING: Block comments should align the * on each line WARNING: Block comments use a trailing */ on a separate line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/prism2fw.c | 485

[PATCH 14/15] staging: wlan-ng: fix line style warnings in prism2sta.c

2016-10-09 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in prism2sta.c: WARNING: line over 80 characters Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/prism2sta.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wlan-ng/prism2sta.c b

[PATCH] staging: wlan-ng: get memory from kernel allocators instead of big static buffer

2016-10-09 Thread Sergio Paracuellos
This patch fix the following sparse warnings in prism2fw.c: warning: memset with byte count of 12 Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/prism2fw.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wlan-ng/prism2fw.c b

Re: [PATCH] staging: wlan-ng: get memory from kernel allocators instead of big static buffer

2016-10-09 Thread Sergio Paracuellos
Just sitting in front of my laptop :) Thanks to you for code review! Cheers, Sergio Paracuello El 2016年10月09日 a las 17:36, Greg KH escribió: On Sun, Oct 09, 2016 at 05:29:22PM +0200, Sergio Paracuellos wrote: This patch fix the following sparse warnings in prism2fw.c: warning: memset

Re: [PATCH 14/15] staging: wlan-ng: fix line style warnings in prism2sta.c

2016-10-09 Thread Sergio Paracuellos
This warnings seems to be fixed in the new tree, so I don't resend anything. El 2016年10月09日 a las 17:23, Greg KH escribió: On Sun, Oct 09, 2016 at 05:10:31PM +0200, Sergio Paracuellos wrote: This patch fix the following checkpatch.pl warnings in prism2sta.c: WARNING: line over 80 chara

[PATCH v2 4/9] staging: wlan-ng: fix block comments style in p80211metadef.h

2016-10-09 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in p80211metadef.h Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211metadef.h | 88 - 1 file changed, 44 insertions(+), 44 deletions(-) diff

[PATCH v2 0/9] staging: wlan-ng: fix block comments style warning in header files

2016-10-09 Thread Sergio Paracuellos
This patch series fix checkpatch.pl script reported warning Block comments should align the * on each line Changes v2: * Fix commit subject from wlang-ng to wlan-ng Sergio Paracuellos (9): staging: wlan-ng: fix block comments style in p80211conv.h staging: wlan-ng: fix block comments style

[PATCH v2 1/9] staging: wlan-ng: fix block comments style in p80211conv.h

2016-10-09 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in p80211conv.h: Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211conv.h | 100 +-- 1 file changed, 50 insertions(+), 50 deletions(-) diff

[PATCH v2 3/9] staging: wlan-ng: fix block comments style in p80211ioctl.h

2016-10-09 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in p80211ioctl.h Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211ioctl.h | 120 +- 1 file changed, 60 insertions(+), 60 deletions(-) diff

[PATCH v2 7/9] staging: wlan-ng: fix block comments style in p80211netdev.h

2016-10-09 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in p80211netdev.h Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211netdev.h | 100 - 1 file changed, 50 insertions(+), 50 deletions(-) diff

[PATCH v2 6/9] staging: wlan-ng: fix block comments style in p80211msg.h

2016-10-09 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in p80211msg.h Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211msg.h | 90 ++--- 1 file changed, 45 insertions(+), 45 deletions(-) diff --git

[PATCH v2 8/9] staging: wlan-ng: fix block comments style in p80211req.h

2016-10-09 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in p80211req.h Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211req.h | 90 ++--- 1 file changed, 45 insertions(+), 45 deletions(-) diff --git

[PATCH v2 5/9] staging: wlan-ng: fix block comments style in p80211mgmt.h

2016-10-09 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in p80211mgmt.h: Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211mgmt.h | 194 +-- 1 file changed, 97 insertions(+), 97 deletions(-) diff

[PATCH v2 2/9] staging: wlan-ng: fix block comments style in p80211hdr.h

2016-10-09 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in p80211hdr.h: Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211hdr.h | 114 ++-- 1 file changed, 57 insertions(+), 57 deletions(-) diff --git

[PATCH v2 9/9] staging: wlan-ng: fix block comments style in prism2mgmt.h

2016-10-09 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in prism2mgmt.h Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/prism2mgmt.h | 122 ++- 1 file changed, 62 insertions(+), 60 deletions(-) diff --git

[PATCH 1/5] staging: wlan-ng: Replace data type declaration with variable of same type in cfg80211.c

2016-10-10 Thread Sergio Paracuellos
sizeof(var) instead of sizeof(struct XXX) is preferred. Fix it in cfg80211.c file. Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/cfg80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wlan-ng/cfg80211.c b/drivers/staging/wlan-ng/cfg80211

[PATCH 3/5] staging: wlan-ng: Replace data type declaration with variable of same type in p80211conv.c

2016-10-10 Thread Sergio Paracuellos
sizeof(*var) instead of sizeof(struct XXX) is preferred. Fix it in p80211conv.c file. Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211conv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wlan-ng/p80211conv.c b/drivers/staging/wlan-ng

[PATCH 4/5] staging: wlan-ng: Replace data type declaration with variable of same type in p80211netdev.c

2016-10-10 Thread Sergio Paracuellos
sizeof(var) instead of sizeof(struct XXX) is preferred. Fix them in p80211netdev.c Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211netdev.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/wlan-ng/p80211netdev.c b/drivers

[PATCH 2/5] staging: wlan-ng: Replace data type declaration with variable of same type in hfa384x_usb.c

2016-10-10 Thread Sergio Paracuellos
sizeof(var) instead of sizeof(struct XXX) is preferred. Fix it in hfa384x_usb.c file. Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x_usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng

[PATCH 0/5] Replace data type declarations with variables of same types in several source files.

2016-10-10 Thread Sergio Paracuellos
This patch series replaces several sizeof(struct XXX) stuff in favour of sizeof(var) which is the preferred one. Sergio Paracuellos (5): staging: wlan-ng: Replace data type declaration with variable of same type in cfg80211.c staging: wlan-ng: Replace data type declaration with variable

[PATCH 5/5] staging: wlan-ng: Replace data type declaration with variable of same type in prism2sta.c

2016-10-10 Thread Sergio Paracuellos
sizeof(*var) instead of sizeof(struct XXX) is preferred. Fix them in prism2sta.c file. Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/prism2sta.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/staging/wlan-ng/prism2sta.c b/drivers/staging/wlan

Re: [PATCH 0/5] Replace data type declarations with variables of same types in several source files.

2016-10-16 Thread Sergio Paracuellos
El 2016年10月16日 a las 10:24, Alexander Alemayhu escribió: On Mon, Oct 10, 2016 at 04:02:17PM +0200, Sergio Paracuellos wrote: This patch series replaces several sizeof(struct XXX) stuff in favour of sizeof(var) which is the preferred one. Why not squash this series into one patch? The

[PATCH 1/5] staging: wlan-ng: Replace data type declaration with variable of same type in cfg80211.c

2016-10-19 Thread Sergio Paracuellos
sizeof(var) instead of sizeof(struct XXX) is preferred. Fix it in cfg80211.c file. Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/cfg80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wlan-ng/cfg80211.c b/drivers/staging/wlan-ng/cfg80211

[PATCH 01/12] staging: wlan-ng: avoid CamelCase: HFA384x_RID_CNFAPBCNint

2016-10-19 Thread Sergio Paracuellos
Replace CamelCase define to comply with the standard kernel coding style. Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x.h| 2 +- drivers/staging/wlan-ng/prism2mgmt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wlan-ng

[PATCH 02/12] staging: wlan-ng: avoid CamelCase: hfa384x_HostScanRequest_data

2016-10-19 Thread Sergio Paracuellos
Replace CamelCase struct name and fields with underscores to comply with the standard kernel coding style. Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x.h| 6 +++--- drivers/staging/wlan-ng/prism2mgmt.c | 8 2 files changed, 7 insertions(+), 7 deletions

[PATCH 2/5] staging: wlan-ng: Replace data type declaration with variable of same type in hfa384x_usb.c

2016-10-19 Thread Sergio Paracuellos
sizeof(var) instead of sizeof(struct XXX) is preferred. Fix it in hfa384x_usb.c file. Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x_usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng

<    13   14   15   16   17   18   19   20   >