[PATCH 0/2] staging: wlan-ng: fix coding style issues in p80211conv.h

Tim Collier osdevtc at gmail.com
Wed May 23 07:30:23 UTC 2018


Replace two macros defined in p80211conv.h with equivalent inline
functions to avoid potential issues with repeated use of macro
arguments as reported by checkpatch.

With these changes, which must be applied in order, p80211conv.h is
checkpatch clean.

Tim Collier (2):
  staging: wlan-ng: convert P80211SKB_FRMMETA to inline function in
    p80211conv
  staging: wlan-ng: convert P80211SKB_RXMETA to inline function in
    p80211conv

 drivers/staging/wlan-ng/hfa384x_usb.c |  2 +-
 drivers/staging/wlan-ng/p80211conv.c  |  8 ++++----
 drivers/staging/wlan-ng/p80211conv.h  | 24 ++++++++++++++----------
 3 files changed, 19 insertions(+), 15 deletions(-)

-- 
2.11.0



More information about the devel mailing list