diff options
| author | Tim Collier <osdevtc@gmail.com> | 2018-06-22 22:39:32 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-06-28 16:12:50 +0300 |
| commit | 9e5ffffb6853aafb6441193e27f60576a67a2e32 (patch) | |
| tree | 65a6e5fde2d1bd5b8bdaf6642f64b1c47b67e3f3 /tools/perf/scripts/python/compaction-times.py | |
| parent | a37545e5e581d8b493d472f51a6011ef6f151de5 (diff) | |
| download | linux-9e5ffffb6853aafb6441193e27f60576a67a2e32.tar.xz | |
staging: wlan-ng: replace WLAN_CTL_FRAMELEN with inline function in p80211hdr.h
checkpatch reports a "CHECK" diagnostic for WLAN_CTL_FRAMELEN as the
macro reuses its argument, leading to possible side-effects. Avoid
this by replacing the macro with an equivalent function, named
wlan_ctl_framelen (as recommended in the coding style). All references
to the macro also updated accordingly.
Signed-off-by: Tim Collier <osdevtc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions
