diff options
| author | Gustavo A. R. Silva <[email protected]> | 2018-08-16 14:01:41 +0000 |
|---|---|---|
| committer | Daniel Thompson <[email protected]> | 2018-11-13 20:37:53 +0000 |
| commit | 9eb62f0e1bc70ebc9b15837a0c4e8f12a7b910cb (patch) | |
| tree | 42a78bb2b7a3e751c34c07c34b9cbc8dad128d48 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | kdb: Use strscpy with destination buffer size (diff) | |
| download | kernel-9eb62f0e1bc70ebc9b15837a0c4e8f12a7b910cb.tar.gz kernel-9eb62f0e1bc70ebc9b15837a0c4e8f12a7b910cb.zip | |
kdb: kdb_main: refactor code in kdb_md_line
Replace the whole switch statement with a for loop. This makes the
code clearer and easy to read.
This also addresses the following Coverity warnings:
Addresses-Coverity-ID: 115090 ("Missing break in switch")
Addresses-Coverity-ID: 115091 ("Missing break in switch")
Addresses-Coverity-ID: 114700 ("Missing break in switch")
Suggested-by: Daniel Thompson <[email protected]>
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Reviewed-by: Daniel Thompson <[email protected]>
[[email protected]: Tiny grammar change in description]
Signed-off-by: Daniel Thompson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
