summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2021-07-22 06:34:29 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2021-08-03 04:43:58 +0300
commit9c202090edd4c7679adf5bf040d7ee19966feae6 (patch)
tree14a6b2d8f536ed04fa0eafe45881dc7583b95b62 /tools/perf/scripts/python
parent35c7d874f5993db04ce3aa310ae088f14b801eda (diff)
downloadlinux-9c202090edd4c7679adf5bf040d7ee19966feae6.tar.xz
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')
0 files changed, 0 insertions, 0 deletions