summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-03-25 15:43:44 +0300
committerKalle Valo <kvalo@codeaurora.org>2019-04-29 18:00:42 +0300
commit62acdcfa8b7ae921b70afff888e994df117022a6 (patch)
tree1ddc47cee0aec9062ce9fad37a5792634cb25ca5 /tools/perf/scripts/python/exported-sql-viewer.py
parentbfabdd6997323adbedccb13a3fed1967fb8cf8f5 (diff)
downloadlinux-62acdcfa8b7ae921b70afff888e994df117022a6.tar.xz
wireless: carl9170: fix clang build warning
clang fails to eliminate some dead code with always-taken branches when CONFIG_PROFILE_ANNOTATED_BRANCHES is set, leading to a false-positive warning: drivers/net/wireless/ath/carl9170/mac.c:522:3: error: variable 'power' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized] BUG_ON(1); ^~~~~~~~~ Change both instances of BUG_ON(1) in carl9170 to the simpler BUG() to avoid the warning. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions