aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2017-05-18 10:38:53 +0300
committerRadim Krčmář <[email protected]>2017-05-18 14:53:54 +0200
commitd3e7dec054174fdddae33eaa0032a82c3f42181d (patch)
tree3af3c47ff972a64d9745d6801856005045060a43 /tools/perf/scripts/python
parent55c315ee09d3bd37f9d71e85e54d6ebe675b6462 (diff)
KVM: Silence underflow warning in avic_get_physical_id_entry()
Smatch complains that we check cap the upper bound of "index" but don't check for negatives. It's a false positive because "index" is never negative. But it's also simple enough to make it unsigned which makes the code easier to audit. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Radim Krčmář <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions