diff options
author | Jan Kara <jack@suse.cz> | 2016-06-28 07:04:00 (GMT) |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-06-28 14:21:46 (GMT) |
commit | 93fdf1478aaba6c397ba54f4cc534bf5019831b4 (patch) | |
tree | 819d98cc9cafe4a47dd2fcd162e6c251a1e9e4bc /sound/last.c | |
parent | 9828c2c6c1048c61034a8b94e6376aeff6d2284f (diff) | |
download | linux-93fdf1478aaba6c397ba54f4cc534bf5019831b4.tar.xz |
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 'sound/last.c')
0 files changed, 0 insertions, 0 deletions