commit | b2679009fa7def0772bff1af4b7579dc2d8ff442 | [log] [tgz] |
---|---|---|
author | Tim Collier <osdevtc@gmail.com> | Fri Jun 22 20:39:33 2018 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Jun 28 22:12:50 2018 +0900 |
tree | ea5493b3ffd9266eb7c9ca0d5ee9b6a5ed13bf21 | |
parent | 9e5ffffb6853aafb6441193e27f60576a67a2e32 [diff] |
staging: wlan-ng: replace macro with inline function in prism2mgmt.c checkpatch gives the following message for the p80211rate_to_p2bit macro: CHECK: Macro argument reuse 'n' - possible side-effects? To fix the message, replace the macro with an equivalent inline function. Signed-off-by: Tim Collier <osdevtc@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>