]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wlan-ng: convert P80211SKB_FRMMETA to inline function in p80211conv
authorTim Collier <osdevtc@gmail.com>
Wed, 23 May 2018 07:30:24 +0000 (08:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 May 2018 16:44:14 +0000 (18:44 +0200)
commit479597eb81a0bea8b6c0fbb774665cb1ce2eaf3e
tree6d4cd7f7e30062b71e47d02f06a8323268316472
parent63b7465fb743312cbf175dd075eb4bdcf3017153
staging: wlan-ng: convert P80211SKB_FRMMETA to inline function in p80211conv

To avoid possible issues with repeated reference to the macro argument
as reported by checkpatch, macro P80211SKB_FRMMETA is replaced with an
equivalent inline function. The function is named p80211skb_frmmeta to
follow the coding style guidelines; references to the macro are
updated to reference the new function.

Signed-off-by: Tim Collier <osdevtc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/p80211conv.c
drivers/staging/wlan-ng/p80211conv.h