aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorNathan Chancellor <[email protected]>2019-12-17 18:15:46 -0700
committerKalle Valo <[email protected]>2020-01-26 17:36:17 +0200
commitb61156fba74f659d0bc2de8f2dbf5bad9f4b8faf (patch)
tree80987d82ff0c324bb52012fb07690b76fd44552f /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentcf33a7728bf27e6f8c5e9190410db85c11103699 (diff)
hostap: Adjust indentation in prism2_hostapd_add_sta
Clang warns: ../drivers/net/wireless/intersil/hostap/hostap_ap.c:2511:3: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] if (sta->tx_supp_rates & WLAN_RATE_5M5) ^ ../drivers/net/wireless/intersil/hostap/hostap_ap.c:2509:2: note: previous statement is here if (sta->tx_supp_rates & WLAN_RATE_2M) ^ 1 warning generated. This warning occurs because there is a space before the tab on this line. Remove it so that the indentation is consistent with the Linux kernel coding style and clang no longer warns. Fixes: ff1d2767d5a4 ("Add HostAP wireless driver.") Link: https://github.com/ClangBuiltLinux/linux/issues/813 Signed-off-by: Nathan Chancellor <[email protected]> Reviewed-by: Nick Desaulniers <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions