summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorKalle Valo <kvalo@codeaurora.org>2019-02-11 18:48:04 +0200
committerKalle Valo <kvalo@codeaurora.org>2019-02-12 20:49:16 +0200
commit95cccf4d79fec4186b6a0d0723b4bc2c07282c0a (patch)
tree7b14620a71cf44a6a7fd1d16199c2a95c13d1b12 /tools/perf/scripts/python/exported-sql-viewer.py
parent2321dd5d78fb150432083bdd17ecf19707bef1f9 (diff)
ath10k: make wmi_service_name() warn about missing service ids
When adding a new value to enum wmi_service it's very easy to miss that the new value should be also added to wmi_service_name() mapping function. Modify the function so that GCC can now warn about this: drivers/net/wireless/ath/ath10k/wmi.h:385:2: warning: enumeration value 'WMI_SERVICE_FOO' not handled in switch [-Wswitch] And also add a reminder to the enum. Thanks to Jouni Malinen for the idea. 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