summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2016-06-28 09:04:00 +0200
committerDavide Garberi <dade.garberi@gmail.com>2022-07-27 18:58:39 +0200
commit1a3627900ba4972463245b4ea1372e3354d5c691 (patch)
treeeec44b75d650632bf7147c763b515414738598e0 /tools/perf/scripts/python
parent12b452215bddbad4daa87ea3fa30376196bd274e (diff)
cfq-iosched: Convert slice_resid from u64 to s64
slice_resid can be both positive and negative. Commit 9a7f38c42c2b (cfq-iosched: Convert from jiffies to nanoseconds) converted it from long to u64. Although this did not introduce any functional regression (the operations just overflow and the result was fine), it is certainly wrong and could cause issues in future. So convert the type to more appropriate s64. Fixes: 9a7f38c42c2b92391d9dabaf9f51df7cfe5608e4 Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions