aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorTom Rix <[email protected]>2021-12-23 08:28:48 -0800
committerJohannes Berg <[email protected]>2022-01-04 15:02:52 +0100
commit68a18ad71378a56858141c4449e02a30c829763e (patch)
treeddeb1c9618b9ecdca7842ee71004abc81567722a /tools/perf/scripts/python/export-to-sqlite.py
parent1ef5e1d0dca5b4ffd49d7dec4a83660882f1fda4 (diff)
mac80211: initialize variable have_higher_than_11mbit
Clang static analysis reports this warnings mlme.c:5332:7: warning: Branch condition evaluates to a garbage value have_higher_than_11mbit) ^~~~~~~~~~~~~~~~~~~~~~~ have_higher_than_11mbit is only set to true some of the time in ieee80211_get_rates() but is checked all of the time. So have_higher_than_11mbit needs to be initialized to false. Fixes: 5d6a1b069b7f ("mac80211: set basic rates earlier") Signed-off-by: Tom Rix <[email protected]> Reviewed-by: Nick Desaulniers <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions