diff options
| author | Tim Collier <[email protected]> | 2018-06-22 20:39:32 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-06-28 22:12:50 +0900 |
| commit | 9e5ffffb6853aafb6441193e27f60576a67a2e32 (patch) | |
| tree | 65a6e5fde2d1bd5b8bdaf6642f64b1c47b67e3f3 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | a37545e5e581d8b493d472f51a6011ef6f151de5 (diff) | |
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions