Skip to content

staging: rtl8723bs: Fix coding style in ieee80211.h

Pramod Maurya linux-staging lkml 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 4 repliesIn review
  2. v11 patch 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4staging: rtl8723bs: Replace __attribute__((packed)) with __packed in ieee80211.hdrivers/staging/rtl8723bs/include/ieee80211.h+2 -20 replies
2/4staging: rtl8723bs: Fix comparison style in IS_CCK_RATE and IS_OFDM_RATE macrosdrivers/staging/rtl8723bs/include/ieee80211.h+4 -22 replies
3/4staging: rtl8723bs: Fix block comment style in ieee80211.hdrivers/staging/rtl8723bs/include/ieee80211.h+23 -230 replies
4/4staging: rtl8723bs: Enclose CHAN_ARG macro body in parenthesesdrivers/staging/rtl8723bs/include/ieee80211.h+2 -22 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/4] staging: rtl8723bs: Fix coding style in ieee80211.h

This series fixes four separate checkpatch.pl issues in ieee80211.h, split into one patch per logical change:

1. Replace __attribute__((packed)) with __packed in struct definitions.
2. Fix comparison direction and wrap macro arguments in parentheses in IS_CCK_RATE and IS_OFDM_RATE.
3. Fix block comment style: move trailing '*/' to its own line and add ' * ' prefix to continuation lines.
4. Enclose the CHAN_ARG macro body in outer parentheses.

v2: Split into one patch per logical change as requested by Nikolay
Kulikov. Previous combined patch was sent as "[PATCH] staging: rtl8723bs: Fix coding style in ieee80211.h".

Pramod Maurya (4):
staging: rtl8723bs: Replace __attribute__((packed)) with __packed in

    ieee80211.h

staging: rtl8723bs: Fix comparison style in IS_CCK_RATE and
IS_OFDM_RATE macros
staging: rtl8723bs: Fix block comment style in ieee80211.h
staging: rtl8723bs: Enclose CHAN_ARG macro body in parentheses

 drivers/staging/rtl8723bs/include/ieee80211.h | 60 ++++++++++---------
 1 file changed, 31 insertions(+), 29 deletions(-)
Signature · 1 line
2.52.0