summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2021-07-21 20:34:29 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2021-08-02 21:43:58 -0400
commit9c202090edd4c7679adf5bf040d7ee19966feae6 (patch)
tree14a6b2d8f536ed04fa0eafe45881dc7583b95b62 /tools/perf/scripts/python/flamegraph.py
parent35c7d874f5993db04ce3aa310ae088f14b801eda (diff)
downloadlinux-9c202090edd4c7679adf5bf040d7ee19966feae6.tar.gz
linux-9c202090edd4c7679adf5bf040d7ee19966feae6.zip
scsi: ufs: Improve static type checking for the host controller state
Assign a name to the enumeration type for UFS host controller states and remove the default clause from switch statements on this enumeration type to make the compiler warn about unhandled enumeration labels. Link: https://lore.kernel.org/r/20210722033439.26550-9-bvanassche@acm.org Cc: Can Guo <cang@codeaurora.org> Reviewed-by: Avri Altman <avri.altman@wdc.com> Reviewed-by: Keoseong Park <keosung.park@samsung.com> Reviewed-by: Daejun Park <daejun7.park@samsung.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions