diff options
author | Josef Bacik <josef@toxicpanda.com> | 2018-07-11 17:34:42 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-07-11 17:37:38 +0300 |
commit | a284390b397ae2f95de799bc591efbfe54bf0907 (patch) | |
tree | 07136f08be61683a7ccfdbf3af286dec401880cc /block/bsg.c | |
parent | 88b7210c81096c018f5836aff4749743c0d34623 (diff) | |
download | linux-a284390b397ae2f95de799bc591efbfe54bf0907.tar.xz |
blk-iolatency: fix max_depth comparisons
max_depth used to be a u64, but I changed it to a unsigned int but
didn't convert my comparisons over everywhere. Fix by using UINT_MAX
everywhere instead of (u64)-1.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bsg.c')
0 files changed, 0 insertions, 0 deletions