staging:rtl8192u: Coding style
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest15 patches 2 repliesIn review
- v117 patches 3 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | staging:rtl8192u: Remove macro eqMacAddr - Styledrivers/ drivers/ | +8 | 2 replies | |
| 2/15 | staging:rtl8192u: Remove macro cpMacAddr - Styledrivers/ drivers/ drivers/ | +8 | 0 replies | |
| 3/15 | staging:rtl8192u: Replace magic number 6 with ETH_ALEN - Styledrivers/ | +1 | 0 replies | |
| 4/15 | staging:rtl8192u: Rename macro parameter __pIeeeDev - Styledrivers/ | +8 | 0 replies | |
| 5/15 | staging:rtl8192u: Rename __pTa - Styledrivers/ | +2 | 0 replies | |
| 6/15 | staging:rtl8192u: Lines should not end with a '(' - Styledrivers/ | +10 | 0 replies | |
| 7/15 | staging:rtl8192u: Rename Dot11d_Init - Styledrivers/ drivers/ drivers/ | +5 | 0 replies | |
| 8/15 | staging:rtl8192u: Rename Dot11d_Reset - Styledrivers/ drivers/ drivers/ +1 more | +6 | 0 replies | |
| 9/15 | staging:rtl8192u: Rename Dot11d_UpdateCountryIe - Styledrivers/ drivers/ drivers/ | +9 | 0 replies | |
| 10/15 | staging:rtl8192u: Rename dot11d_update_country_ie() parameters - Styledrivers/ | +3 | 0 replies | |
| 11/15 | staging:rtl8192u: Rename DOT11D_GetMaxTxPwrInDbm - Styledrivers/ drivers/ | +4 | 0 replies | |
| 12/15 | staging:rtl8192u: Rename Channel - Styledrivers/ | +1 | 0 replies | |
| 13/15 | staging:rtl8192u: Rename DOT11D_ScanComplete - Styledrivers/ drivers/ drivers/ | +5 | 0 replies | |
| 14/15 | staging:rtl8192u: Rename IsLegalChannel - Styledrivers/ drivers/ drivers/ +1 more | +9 | 0 replies | |
| 15/15 | staging:rtl8192u: Rename ToLegalChannel - Styledrivers/ drivers/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 00/15] staging:rtl8192u: Coding style
In this second version of the series I've replaced the macros eqMacAddr and cpMacAddr with functions suggested by Joe Perches <[email protected]>
One issue with this change is that both of the functions now used, defined in etherdevice.h, rely on the parameters being u16 aligned. To achieve this I've 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 anywhere.
John Whitmore (15):
staging:rtl8192u: Remove macro eqMacAddr - Style staging:rtl8192u: Remove macro cpMacAddr - Style staging:rtl8192u: Replace magic number 6 with ETH_ALEN - Style staging:rtl8192u: Rename macro parameter __pIeeeDev - Style staging:rtl8192u: Rename __pTa - Style
staging:rtl8192u: Lines should not end with a '(' - Style staging:rtl8192u: Rename Dot11d_Init - Style staging:rtl8192u: Rename Dot11d_Reset - Style staging:rtl8192u: Rename Dot11d_UpdateCountryIe - Style staging:rtl8192u: Rename dot11d_update_country_ie() parameters - Style staging:rtl8192u: Rename DOT11D_GetMaxTxPwrInDbm - Style staging:rtl8192u: Rename Channel - Style
staging:rtl8192u: Rename DOT11D_ScanComplete - Style staging:rtl8192u: Rename IsLegalChannel - Style staging:rtl8192u: Rename ToLegalChannel - Style
drivers/staging/rtl8192u/ieee80211/dot11d.c | 42 +++++----- drivers/staging/rtl8192u/ieee80211/dot11d.h | 77 ++++++------------- .../staging/rtl8192u/ieee80211/ieee80211.h | 11 +-- .../staging/rtl8192u/ieee80211/ieee80211_rx.c | 10 +-- .../rtl8192u/ieee80211/ieee80211_softmac.c | 6 +- drivers/staging/rtl8192u/r8192U_core.c | 10 +-- drivers/staging/rtl8192u/r819xU_phy.c | 2 +- 7 files changed, 63 insertions(+), 95 deletions(-)
Signature · 1 line
2.18.0