aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2020-02-19 09:49:41 +0100
committerGreg Kroah-Hartman <[email protected]>2020-02-19 12:46:47 +0100
commit72ae8cc192a312aa6a3cd643434a8992ea878737 (patch)
tree107d3290de573fd42d027ebccb264a8b6d300e0a /tools/perf/scripts/python/exported-sql-viewer.py
parent036bca1fcce80fcf90bcfbff6ab3534ad575eb46 (diff)
n_gsm: introduce enum gsm_dlci_state
gsm_dlci->state is clearly an enumeration. So introduce one and use it -- compiler now checks if valid values are assigned to the field. Note that a compiler warns about unhandled cases in switch. Add default cases with a pr_debug (which is not printed by default). Signed-off-by: Jiri Slaby <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions