[PATCH v2 02/08] staging:rtl8192u: Rename ACI_AIFSN - Style

2018-07-28 Thread John Whitmore
impact on runtime execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h | 6 +++--- drivers/staging/rtl8192u/r8192U_dm.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h b

[PATCH v2 06/08] staging:rtl8192u: Rename enum DIRECTION_VALUE - Style

2018-07-28 Thread John Whitmore
ld have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h| 4 ++-- drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192u

[PATCH v2 05/08] staging:rtl8192u: Remove unused union ECW -Style

2018-07-28 Thread John Whitmore
The union ECW is never used in code so has simply been removed. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h | 12 1 file changed, 12 deletions(-) diff --git a

[PATCH v2 00/08] staging:rtl8192u: cleanup of rtl819x_Qos.h - Style

2018-07-28 Thread John Whitmore
These are a few coding style changes to the file drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h I had more patches in the list but had to dump some of the later patches as I made a mistake. Thought I'd send these 8. John Whitmore (8): staging:rtl8192u: Add spaces around operators -

[PATCH v2 03/08] staging:rtl8192u: Rename member variables - Style

2018-07-28 Thread John Whitmore
Rename the member variables of union aci_aifsn, which should be named in lowercase. The only member variable, of this union, which is actually used is 'acm'. This are coding style changes which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drive

[PATCH v2 07/08] staging:rtl8192u: Rename union QOS_TSINFO - Style

2018-07-28 Thread John Whitmore
on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h| 6 +++--- drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h

[PATCH v2 04/08] staging:rtl8192u: Remove unused union AC_PARAM - Style

2018-07-28 Thread John Whitmore
The union ACM_PARAM is never actually used in code so removed. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h | 15 --- 1 file changed, 15 deletions(-) diff --git

Re: [PATCH 01/10] staging:rtl8192u: Remove typedef of struct cmpk_txfb_t - Style

2018-07-29 Thread John Whitmore
On Sun, Jul 29, 2018 at 10:10:55AM +0200, Greg KH wrote: > On Wed, Jul 25, 2018 at 11:16:21PM +0100, John Whitmore wrote: > > -typedef struct tag_cmd_pkt_tx_feedback { > > +struct cmpk_txfb_t { > > /* DWORD 0 */ > > u8 element_id;

Re: [PATCH 02/10] staging:rtl8192u: Refactor use of enum dm_dig_sta_e - Style

2018-07-29 Thread John Whitmore
On Sun, Jul 29, 2018 at 10:17:26AM +0200, Greg KH wrote: > On Sat, Jul 28, 2018 at 12:28:18AM +0100, John Whitmore wrote: > > Refactor the use of the enumerated type dm_dig_sta_e, which is not > > actually used for type checking by the compiler. > > > > The enumerated

[PATCH v2 02/15] staging:rtl8192u: Remove unused CMPK_TX_SET_CONFIG_SIZE - Style

2018-07-29 Thread John Whitmore
Remove the unused macro CMPK_TX_SET_CONFIG_SIZE. This is a coding style change which should not impact runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_cmdpkt.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8192u/r819xU_cmdpkt.h b

[PATCH v2 02/08] staging:rtl8192u: Rename ACI_AIFSN - Style

2018-07-29 Thread John Whitmore
impact on runtime execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h | 6 +++--- drivers/staging/rtl8192u/r8192U_dm.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h b

[PATCH v2 01/08] staging:rtl8192u: Add spaces around operators - Style

2018-07-29 Thread John Whitmore
Add the required spaces around '+' and '*' operators. This is a coding style change to clear the checkpatch issue. There should be no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h | 2 +- 1 file change

[PATCH v2 03/15] staging:rtl8192u: Removed unused CMPK_RX_DBG_MSG_SIZE - Style

2018-07-29 Thread John Whitmore
Remove the unused macro definition CMPK_RX_DBG_MSG_SIZE. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_cmdpkt.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8192u

[PATCH v2 04/15] staging:rtl8192u: Correct spelling in comments - style

2018-07-29 Thread John Whitmore
Correct the spelling of a number of comments, which cause a checkpatch issue. This is purely a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_cmdpkt.h | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH v2 01/15] staging:rtl8192u: Remove typedef of struct cmpk_txfb_t - Style

2018-07-29 Thread John Whitmore
hould have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_cmdpkt.c | 8 drivers/staging/rtl8192u/r819xU_cmdpkt.h | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8192u/r819xU_cmdpkt.c

[PATCH v2 00/15] staging:rtl8192u: Coding style changes

2018-07-29 Thread John Whitmore
Second attempt correcting my initial attempt where I left '_t' and '_e' trailing the structures defined. These have now been corrected. John Whitmore (15): staging:rtl8192u: Remove typedef of struct cmpk_txfb_t - Style staging:rtl8192u: Remove unused CMPK_TX_SET

[PATCH v2 03/08] staging:rtl8192u: Rename member variables - Style

2018-07-29 Thread John Whitmore
Rename the member variables of union aci_aifsn, which should be named in lowercase. The only member variable, of this union, which is actually used is 'acm'. This are coding style changes which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drive

[PATCH v2 04/15] staging:rtl8192u: Correct spelling in comments - style

2018-07-29 Thread John Whitmore
Correct the spelling of a number of comments, which cause a checkpatch issue. This is purely a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_cmdpkt.h | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH v2 02/15] staging:rtl8192u: Remove unused CMPK_TX_SET_CONFIG_SIZE - Style

2018-07-29 Thread John Whitmore
Remove the unused macro CMPK_TX_SET_CONFIG_SIZE. This is a coding style change which should not impact runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_cmdpkt.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8192u/r819xU_cmdpkt.h b

[PATCH v2 07/15] staging:rtl8192u: Refactor use of enum dm_dig_sta_e - Style

2018-07-29 Thread John Whitmore
g the enumerated type. These changes, whilst convoluted, are purely coding style in nature and should not impact runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U_dm.h | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/dr

[PATCH v2 12/15] staging:rtl8192u: Refactor dm_dig_connect_e - Style

2018-07-29 Thread John Whitmore
value DIG_CONNECT_MAX has been removed since it is never used in code. The resulting changes are all coding style in nature and should not impact runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U_dm.h | 15 +++ 1 file changed, 7 insertions(+), 8

[PATCH v2 11/15] staging:rtl8192u: Remove unused enum dm_dig_dbg_e - Style

2018-07-29 Thread John Whitmore
The enumerated type dm_dig_dbg_e is never used in code so has simply been removed from the source code. this is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U_dm.h | 6 -- 1 file changed, 6

[PATCH v2 15/15] staging:rtl8192u: Refactor enum DM_CCK_Rx_Path_Method - Style

2018-07-29 Thread John Whitmore
issue with CamelCase naming. And the enumerated constant CCK_Rx_Version_MAX has been removed, since it is never used in code. The changes are all coding style in nature and so should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U_dm.h | 13

[PATCH v2 10/15] staging:rtl8192u: Refactor enum dm_dig_alg_e - Style

2018-07-29 Thread John Whitmore
new types, and the type renamed to enum dig_algorithm. The enumerated constant DIG_ALGO_MAX has been removed from the type since it is never used in the code. These changes are all coding style in nature and as such should have no impact on runtime code execution. Signed-off-by: John Whitmore --- d

[PATCH v2 14/15] staging:rtl8192u: Refactor enum dm_dig_cs_ratio_e - Style

2018-07-29 Thread John Whitmore
oding style changes and should not impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U_dm.h | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_dm.h b/drivers/staging/rtl8192u/r8192U_dm.h

[PATCH v2 13/15] staging:rtl8192u: Refactor enum dm_dig_pd_th_e - Style

2018-07-29 Thread John Whitmore
ypes, and the value 'DIG_PD_MAX' has been removed from the enumeration, since it is never used in code. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U_dm.h | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/drivers/staging/rtl8192u/r

[PATCH v2 00/15] staging:rtl8192u: Coding style changes

2018-07-29 Thread John Whitmore
Second attempt correcting my initial attempt where I left '_t' and '_e' trailing the structures defined. These have now been corrected. John Whitmore (15): staging:rtl8192u: Remove typedef of struct cmpk_txfb_t - Style staging:rtl8192u: Remove unused CMPK_TX_SET

[PATCH v2 08/15] staging:rtl8192u: Refactor enum dm_ratr_sta_e usage - Style

2018-07-29 Thread John Whitmore
een left as enum dynamic_ratr_state This is a coding style change and should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U.h| 10 +- drivers/staging/rtl8192u/r8192U_dm.h | 8 2 files changed, 9 insertions(+), 9

[PATCH v2 05/15] staging:rtl8192u: Remove typedef of cmpk_intr_sta_t - Style

2018-07-29 Thread John Whitmore
Remove the typedef of struct cmpk_intr_sta_t, the name of the structure has been left as cmd_pkt_interrupt_status. This clears the checkpatch issue with creating new types in code. The change is purely a coding style change and should have no impact on runtime code execution. Signed-off-by: John

[PATCH v2 06/15] staging:rtl8192u: Remove typedef of cmpk_set_cfg_t - Style

2018-07-29 Thread John Whitmore
Remove the typedef from cmpk_set_cfg_t, leaving the structure as struct cmd_pkt_set_configuration. This change clears the checkpatch issue with defining new types. The change is purely a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore

[PATCH v2 03/15] staging:rtl8192u: Removed unused CMPK_RX_DBG_MSG_SIZE - Style

2018-07-29 Thread John Whitmore
Remove the unused macro definition CMPK_RX_DBG_MSG_SIZE. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_cmdpkt.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8192u

[PATCH v2 01/15] staging:rtl8192u: Remove typedef of struct cmpk_txfb_t - Style

2018-07-29 Thread John Whitmore
hould have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_cmdpkt.c | 8 drivers/staging/rtl8192u/r819xU_cmdpkt.h | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8192u/r819xU_cmdpkt.c

[PATCH v2 09/15] staging:rtl8192u: Remove enum dm_dig_op_e - Style

2018-07-29 Thread John Whitmore
enumeration is never used. In any case there should be no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U_dm.c | 91 drivers/staging/rtl8192u/r8192U_dm.h | 20 -- 2 files changed, 111 deletions(-) diff --git a

Re: [PATCH v2 03/08] staging:rtl8192u: Rename member variables - Style

2018-07-29 Thread John Whitmore
On Sun, Jul 29, 2018 at 10:05:17PM +0100, John Whitmore wrote: > Rename the member variables of union aci_aifsn, which should be named > in lowercase. The only member variable, of this union, which is > actually used is 'acm'. > > This are coding style changes which

Re: [PATCH v2 02/08] staging:rtl8192u: Rename ACI_AIFSN - Style

2018-07-29 Thread John Whitmore
On Sun, Jul 29, 2018 at 10:05:15PM +0100, John Whitmore wrote: > Rename the union ACI_AIFSN to aci_aifsn and remove the typedef directive. > > The removal of the typedef clears the checkpatch issue with defining > new types. The renaming is to adhere to the coding style where types &

Re: [PATCH v2 00/15] staging:rtl8192u: Coding style changes

2018-07-29 Thread John Whitmore
On Sun, Jul 29, 2018 at 10:05:11PM +0100, John Whitmore wrote: > Second attempt correcting my initial attempt where I left '_t' > and '_e' trailing the structures defined. These have now been > corrected. > > John Whitmore (15): > staging:rtl8192u: Remove

Re: [PATCH v2 01/15] staging:rtl8192u: Remove typedef of struct cmpk_txfb_t - Style

2018-07-30 Thread John Whitmore
On Mon, Jul 30, 2018 at 11:11:38AM +0200, Greg KH wrote: > On Sun, Jul 29, 2018 at 10:07:33PM +0100, John Whitmore wrote: > > Remove the typedef of the structure cmpk_txfb_t. This clears the > > checkpatch issue with defining new types. > > > > Additionally the type is

[PATCH 00/14] staging:rtl8192u: rtl819x_Qos.h style changes

2018-07-31 Thread John Whitmore
is included in the declaration. As a result I totally cut the block comment. All the remaining 13 patches fix coding style and checkpatch issues with the file rtl819x_Qos.h. Possibly the major change is the truncation of a number of unions to the structure which is actually being used. John

[PATCH 08/14] staging:rtl8192u: Remove commented out code - Style

2018-07-31 Thread John Whitmore
A number of structures have been commented out of code. Obviously they are not used and as a result have been removed from the code. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- .../staging/rtl8192u/ieee80211

[PATCH 05/14] staging:rtl8192u: Refactor union TSPEC_BODY - Style

2018-07-31 Thread John Whitmore
has been removed from the structure to clear the checkpatch issue with defining new types. Additionally the name has been changed to lowercase to comply with coding style. These changes are all coding style changes which should have no impact on runtime code execution. Signed-off-by: John Whitmore

[PATCH 01/14] staging:rtl8192u: Clean cmpk_counttxstatistic() comments - Style

2018-07-31 Thread John Whitmore
is a coding style change, there should be no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_cmdpkt.c | 18 -- 1 file changed, 18 deletions(-) diff --git a/drivers/staging/rtl8192u/r819xU_cmdpkt.c b/drivers/staging/rtl8192u

[PATCH 09/14] staging:rtl8192u: Move QOS_TCLAS to rtl819x_TS.h - Style

2018-07-31 Thread John Whitmore
Move the union QOS_TCLAS from the header file rtl819x_Qos.h to header file rtl819x_TS.h, where the structure is actually used, as the member of another structure. This is a coding style change, which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- .../staging

[PATCH 06/14] staging:rtl8192u: Rename TSInfo - Style

2018-07-31 Thread John Whitmore
Rename TSInfo, the memeber variable of struct tspec_body to ts_info. This change clears the checkpatch issue with CamelCase naming. This is a coding style change which should not impact runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c

[PATCH 02/14] staging:rtl8192u: Remove union from aci_aifsn - Style

2018-07-31 Thread John Whitmore
coding style change and should not impact runtime code execution. Signed-off-by: John Whitmore --- .../staging/rtl8192u/ieee80211/rtl819x_Qos.h | 23 --- drivers/staging/rtl8192u/r8192U_dm.c | 4 ++-- 2 files changed, 12 insertions(+), 15 deletions(-) diff --git a

[PATCH 12/14] staging:rtl8192u: Remove unused UP2AC - Style

2018-07-31 Thread John Whitmore
The macro UP2AC is commented out of the header file so the macro and its associated comment are removed. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h | 3 --- 1 file

[PATCH 03/14] staging:rtl8192u: Remove union from qos_tsinfo - Style

2018-07-31 Thread John Whitmore
field has been changed from u8 to u16. Compilers have probably moved on from having an issue with this, call it OCD. The changes are coding style in nature and should not impact runtime code execution. Signed-off-by: John Whitmore --- .../rtl8192u/ieee80211/rtl819x_BAProc.c | 2 +- .../st

[PATCH 10/14] staging:rtl8192u: rename OCTET_STRING - Style

2018-07-31 Thread John Whitmore
execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/ieee80211.h | 4 ++-- drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c | 6 +++--- drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff

[PATCH 11/14] staging:rtl8192u: Rename octet_string members - Style

2018-07-31 Thread John Whitmore
Rename the structure octet_string's member variables Octet to octet and Length to length. This change clears the checkpatch issue with CamelCase naming of variables. This is purely a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whi

[PATCH 04/14] staging:rtl8192u: Rename members of struct qos_tsinfo - Style

2018-07-31 Thread John Whitmore
style changes which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- .../rtl8192u/ieee80211/rtl819x_BAProc.c | 2 +- .../staging/rtl8192u/ieee80211/rtl819x_Qos.h | 20 - .../rtl8192u/ieee80211/rtl819x_TSProc.c | 22 +-- 3

[PATCH 07/14] staging:rtl8192u: Rename tspec_body members - Style

2018-07-31 Thread John Whitmore
execution. Signed-off-by: John Whitmore --- .../staging/rtl8192u/ieee80211/rtl819x_Qos.h | 30 +-- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h b/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h index db0392cfd6d4

[PATCH 13/14] staging:rtl8192u: Rename IsACValid and add parenthesis - Style

2018-07-31 Thread John Whitmore
-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h| 2 +- drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h b/drivers/staging/rtl8192u/ieee80211

[PATCH 14/14] staging:rtl8192u: Change clock comment - Style

2018-07-31 Thread John Whitmore
A number of block comments have been changed to comply with the coding standard. These are coding style changes which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h | 14 +++--- 1 file changed, 7

[PATCH 01/18] staging:rtl8192u: Remove debug member from structures - Style

2018-08-02 Thread John Whitmore
the test. Since the member variables are then actually used both have been removed, along with the enumerated type which defines debug status, on/off. These are coding style changes to remove unused or redundant code, there should be no impact on runtime code execution. Signed-off-by: John Wh

[PATCH 04/18] staging:rtl8192u: Rename enum constants - Style

2018-08-02 Thread John Whitmore
Rename the two constants defined in the enumerated type enum cck_rx_path_method so that they are both uppercase, as suggested by the coding style. This is purely a coding style change and should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u

[PATCH 02/18] staging:rtl8192u: Remove member variable rx_gain_range_max - Style

2018-08-02 Thread John Whitmore
constant 'DM_DIG_MAX' the code might as well simply use that constant, rather the a member variable set to that constant. The member variable has been removed and the constant used directly in the code. This is a coding style change which should not impact runtime code execution.

[PATCH 00/18] staging:rtl8192u: Clean up ofr8192U_dm.h

2018-08-02 Thread John Whitmore
patch removes member variables from two separate structures which seem to have been intended to add functionality for debugging. Whether that feature was forgotten about I'm not sure but as it serves no purpose both member variables were removed. I hope I've not missed something John Wh

[PATCH 03/18] staging:rtl8192u: Remove member initialgain_lowerbound_state - Style

2018-08-02 Thread John Whitmore
tion. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U_dm.c | 1 - drivers/staging/rtl8192u/r8192U_dm.h | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_dm.c b/drivers/staging/rtl8192u/r8192U_dm.c index 8b9d011e9eec..ede596a91c03 100644 --- a/driv

[PATCH 06/18] staging:rtl8192u: Remove member variable Enable - Style

2018-08-02 Thread John Whitmore
This is a coding style change which should not impact runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U_dm.c | 3 --- drivers/staging/rtl8192u/r8192U_dm.h | 1 - 2 files changed, 4 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_dm.c b/drive

[PATCH 08/18] staging:rtl8192u: Remove SS_TH_low - Style

2018-08-02 Thread John Whitmore
checkpatch issue with CamelCase naming. These changes are coding style in nature and should not impact runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U_dm.c | 3 +-- drivers/staging/rtl8192u/r8192U_dm.h | 3 +-- 2 files changed, 2 insertions(+), 4 deletions

[PATCH 10/18] staging:rtl8192u: Rename member disabledRF - Style

2018-08-02 Thread John Whitmore
Rename the member variable disabledRF to disabled_rf. This change resolves the checkpatch issue with CamelCase naming. The change is purely a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U_dm.c | 10

[PATCH 12/18] staging:rtl8192u: Refactor DCMD_TXCMD_T structure - Style

2018-08-02 Thread John Whitmore
7;12' have both been replaced with sizeof() calls, as they both represent the size of data elements. These are coding style changes which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U_dm.c | 10 +- drivers/staging/

[PATCH 16/18] staging:rtl8192u: Rename constants - Style

2018-08-02 Thread John Whitmore
have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U_core.c | 2 +- drivers/staging/rtl8192u/r8192U_dm.c | 2 +- drivers/staging/rtl8192u/r8192U_dm.h | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/s

[PATCH 14/18] staging:rtl8192u: Rename RateAdaptiveTH_High - Style

2018-08-02 Thread John Whitmore
The constant RateAdaptiveTH_High causes a checkpatch issue with respect to CamelCase naming. As a result the constant has been renamed to RATE_ADAPTIVE_TH_HIGH. This is purely a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers

[PATCH 05/18] staging:rtl8192u: Remove unused extern DM_RxPathSelTable - Style

2018-08-02 Thread John Whitmore
coding style change which should not impact runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U_dm.c | 2 +- drivers/staging/rtl8192u/r8192U_dm.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_dm.c b

[PATCH 15/18] staging:rtl8192u: Rename constants RateAdaptiveTH_Low_* - Style

2018-08-02 Thread John Whitmore
execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U_core.c | 8 drivers/staging/rtl8192u/r8192U_dm.c | 8 drivers/staging/rtl8192u/r8192U_dm.h | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/staging/rtl8192u

[PATCH 07/18] staging:rtl8192u: Rename cck_Rx_path - Style

2018-08-02 Thread John Whitmore
Rename the member variable cck_Rx_path to cck_rx_path. This clears the checkpatch issue with CamelCase naming. This is a coding style change which should have no impact one runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U_dm.c | 8 drivers

[PATCH 09/18] staging:rtl8192u: Remove member diff_TH - Style

2018-08-02 Thread John Whitmore
RX_PATH_SELECTION_DIFF_TH, to clear the checkpatch issue with CamelCase naming. These are coding style changes which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U_dm.c | 3 +-- drivers/staging/rtl8192u/r8192U_dm.h | 3 +-- 2

[PATCH 13/18] staging:rtl8192u: Rename DM_DIG_MIN_Netcore - Style

2018-08-02 Thread John Whitmore
The constant DM_DIG_MIN_Netcore causes a checkpatch issue with CamelCase naming so has been renamed to DM_DIG_MIN_NETCORE. This is a simple coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U_dm.c | 2

[PATCH 18/18] staging:rtl8192u: Clean up of spacing - Style

2018-08-02 Thread John Whitmore
Multiple blank line, which cause an issue with checkpath, have been removed and the spacing of definitions have been aligned to look cleaner. These are coding style changes which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u

[PATCH 11/18] staging:rtl8192u: Remove member reserved - Style

2018-08-02 Thread John Whitmore
: John Whitmore --- drivers/staging/rtl8192u/r8192U_dm.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8192u/r8192U_dm.h b/drivers/staging/rtl8192u/r8192U_dm.h index 74742cb27a2c..66dfcbbf6e43 100644 --- a/drivers/staging/rtl8192u/r8192U_dm.h +++ b/drivers/staging/rtl8192u

[PATCH 17/18] staging:rtl8192u: Rename Register Constants - Style

2018-08-02 Thread John Whitmore
, 'TX_RETRY_COUNT_REG' and 'REG_C38_TH' respectively. These are coding style changes which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U_dm.c | 16 drivers/staging/rtl8192u/r8192U_dm.h | 8 ++

[PATCH 0/7] staging:rtl8192u: Coding style changes

2018-08-04 Thread John Whitmore
Cleanup of the drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h file as the QOS_TCLAS union was moved into this file, in a previous patch. The type contained a number of naming issues. John Whitmore (7): staging:rtl8192u: Remove typedef and rename QOS_TCLAS - Style staging:rtl8192u: Rename

[PATCH 4/7] staging:rtl8192u: Remove blank line - Style

2018-08-04 Thread John Whitmore
Removal of a blank like which causes a checkpatch issue. This is a simple coding style change and should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging

[PATCH 2/7] staging:rtl8192u: Rename types in QOS_TCLAS union - Style

2018-08-04 Thread John Whitmore
impact on runtime code execution. Signed-off-by: John Whitmore --- .../staging/rtl8192u/ieee80211/rtl819x_TS.h | 20 +-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h b/drivers/staging/rtl8192u/ieee80211

[PATCH 7/7] staging:rtl8192u: Replace magic number with defined constant - Style

2018-08-04 Thread John Whitmore
Replace the magic number '8' with defined constant which is normally used 'MAX_DEV_ADDR_SIZE'. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c | 2 +

[PATCH 6/7] staging:rtl8192u: Remove unused member variable - Style

2018-08-04 Thread John Whitmore
ntime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/ieee80211.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211.h b/drivers/staging/rtl8192u/ieee80211/ieee80211.h index 3cfeac0d7214..fc449806d

[PATCH 1/7] staging:rtl8192u: Remove typedef and rename QOS_TCLAS - Style

2018-08-04 Thread John Whitmore
Remove the typedef from the union QOS_TCLAS, which causes a checkpatch issue with defining new types. In addition, as a type, the name should be in lowercase so has been changed. These are coding style changes and should have no impact on runtime code execution. Signed-off-by: John Whitmore

[PATCH 3/7] staging:rtl8192u: Rename multiple variables - Style

2018-08-04 Thread John Whitmore
-off-by: John Whitmore --- .../staging/rtl8192u/ieee80211/rtl819x_TS.h | 66 +-- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h b/drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h index c352ba0bcd8f..508ed639cda5

[PATCH 5/7] staging:rtl8192u: Remove comments - Style

2018-08-04 Thread John Whitmore
. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h b/drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h index 93984e8e87c3..924d4b373099 100644 --- a

[PATCH 04/17] staging:rtl8192u: Rename eqMacAddr macro - Style

2018-08-07 Thread John Whitmore
The eqMacAddr(a, b) macro causes a checkpatch issue, due to CamelCase naming, so has been renamed to eq_mac_addr(a, b). This is a coding style change which should not impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/dot11d.h | 4

[PATCH 05/17] staging:rtl8192u: Rename cpMacAddr Macro - Style

2018-08-07 Thread John Whitmore
Rename the Macro cpMacAddr(des, src), as it causes a checkpatch issue due its use of CamelCase naming, to cp_mac_addr(des, src). This is a coding style change so should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/dot11d.h

[PATCH 17/17] staging:rtl8192u: Rename ToLegalChannel - Style

2018-08-07 Thread John Whitmore
Rename the function ToLegalChannel, which causes a checkpatch issue due to its use of CamelCase naming. The function has been renamed to to_legal_channel. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging

[PATCH 03/17] staging:rtl8192u: Remove unused macro definitions - Style

2018-08-07 Thread John Whitmore
Removed unused macro definitions as they add nothing to the code. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/dot11d.h | 8 1 file changed, 8 deletions(-) diff --git a/drivers

[PATCH 08/17] staging:rtl8192u: Lines should not end with a '(' - Style

2018-08-07 Thread John Whitmore
e execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/dot11d.h | 47 + 1 file changed, 10 insertions(+), 37 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/dot11d.h b/drivers/staging/rtl8192u/ieee80211/dot11d.h index 72fc04e08b34..cb6d6

[PATCH 01/17] staging:rtl8192u: Remove stale comment - Style

2018-08-07 Thread John Whitmore
Remove a comment which appears to be from a previous version of code. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/dot11d.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers

[PATCH 02/17] staging:rtl8192u: Add spaces around '+' operator - Style

2018-08-07 Thread John Whitmore
Add spaces around '+' operator as required by the coding standard. This clears the checkpatch issue. This change is purely coding style in nature and should have not effect on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/dot11d.h | 4 ++

[PATCH 07/17] staging:rtl8192u: Rename __pTa - Style

2018-08-07 Thread John Whitmore
The macro parameter __pTa causes a checkpatch issue because of its use of CamelCase naming. The parameter has this been renamed to addr. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211

[PATCH 14/17] staging:rtl8192u: Rename Channel - Style

2018-08-07 Thread John Whitmore
The function dot11d_get_max_tx_pwr_in_dbm() uses a parameter name, Channel, which causes a checkpatch issue with CamelCase naming. The parameter has been renamed to channel. The change is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore

[PATCH 00/17] staging:rtl8192u: Coding style changes

2018-08-07 Thread John Whitmore
This series includes a number of simple coding style changes. There are a number of patches which rename symbols which are exported with EXPORT_SYMBOL. This may be a problem, as code using those symbols will have to be changed accordingly. John Whitmore (17): staging:rtl8192u: Remove stale

[PATCH 09/17] staging:rtl8192u: Rename Dot11d_Init - Style

2018-08-07 Thread John Whitmore
The function Dot11d_Init() causes a checkpatch issue due to its use of CamelCase naming. The function has been renamed to dot11d_init. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211

[PATCH 12/17] staging:rtl8192u: Rename dot11d_update_country_ie() parameters - Style

2018-08-07 Thread John Whitmore
The function dot11d_update_country_ie() uses parameter names which cause a checkpatch issue de to the use of CamelCase naming. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/dot11d.h | 6

[PATCH 15/17] staging:rtl8192u: Rename DOT11D_ScanComplete - Style

2018-08-07 Thread John Whitmore
The function DOT11D_ScanComplete causes a checkpatch issue due to its use of CamelCase naming. The function has been renamed to dot11d_scan_complete. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u

[PATCH 16/17] staging:rtl8192u: Rename IsLegalChannel - Style

2018-08-07 Thread John Whitmore
The function IsLegalChannel causes a checkpatch issue due to its use of CamelCase naming. The function has been renamed to is_legal_channel. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211

[PATCH 13/17] staging:rtl8192u: Rename DOT11D_GetMaxTxPwrInDbm - Style

2018-08-07 Thread John Whitmore
The function DOT11D_GetMaxTxPwrInDbm causes a checkpatch issue due to its use of CamelCase naming. The function has been renamed to dot11d_get_max_tx_pwr_in_dbm. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers

[PATCH 11/17] staging:rtl8192u: Rename Dot11d_UpdateCountryIe - Style

2018-08-07 Thread John Whitmore
The function Dot11d_UpdateCountryIe causes a checkpatch issue due to its use of CamelCase naming, the function has been renamed to dot11d_update_country_ie. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging

[PATCH 10/17] staging:rtl8192u: Rename Dot11d_Reset - Style

2018-08-07 Thread John Whitmore
The function Dot11d_Reset causes a checkpatch issue due to its use of CamelCase naming, so has been rename to dot11d_reset. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/dot11d.c

[PATCH 06/17] staging:rtl8192u: Rename macro parameter __pIeeeDev - Style

2018-08-07 Thread John Whitmore
execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/dot11d.h | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/dot11d.h b/drivers/staging/rtl8192u/ieee80211/dot11d.h index a53f6454262a..01adf747f7c8

Re: [PATCH 04/17] staging:rtl8192u: Rename eqMacAddr macro - Style

2018-08-08 Thread John Whitmore
On Wed, Aug 08, 2018 at 01:12:53AM -0700, Joe Perches wrote: > On Tue, 2018-08-07 at 22:12 +0100, John Whitmore wrote: > > The eqMacAddr(a, b) macro causes a checkpatch issue, due to CamelCase > > naming, so has been renamed to eq_mac_addr(a, b). > > > > This is a codin

[PATCH v2 00/15] staging:rtl8192u: Coding style

2018-08-08 Thread John Whitmore
re-ordered member variables in two structures. This strikes me as being a bit shaky as any change to a structure might upset that alignment. Apart from that my only concern is renaming functions which are exported symbols. As far as I can see they are exported using EXPORT_SYMBOL but are not used anywh

[PATCH v2 06/15] staging:rtl8192u: Lines should not end with a '(' - Style

2018-08-08 Thread John Whitmore
e execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/dot11d.h | 47 + 1 file changed, 10 insertions(+), 37 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/dot11d.h b/drivers/staging/rtl8192u/ieee80211/dot11d.h index 0263eca375fe..0856d

<    1   2   3   4   5   6   7   >