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

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to