block: Fix type mismatch in ssize_t_blk_mq_tag_sysfs_show
authorMasanari Iida <standby24x7@gmail.com>
Mon, 10 Feb 2014 17:39:18 +0000 (10:39 -0700)
committerJens Axboe <axboe@fb.com>
Mon, 10 Feb 2014 17:39:53 +0000 (10:39 -0700)
commit11c94444074f40b479a05f6657d935204e992f2e
treee92982b378b7f5362fcc99dfea523ac664e894c7
parent18741986a4b1dc4b1f171634c4191abc3b0fa023
block: Fix type mismatch in ssize_t_blk_mq_tag_sysfs_show

cppcheck detected following format string mismatch.
[blk-mq-tag.c:201]: (warning) %u in format string (no. 1) requires
'unsigned int' but the argument type is 'int'.

Change "cpu" from int to unsigned int, because the cpu
never become minus value.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq-tag.c