block: Fix type mismatch in ssize_t_blk_mq_tag_sysfs_show
authorMasanari Iida <standby24x7@gmail.com>
Tue, 18 Feb 2014 17:26:06 +0000 (09:26 -0800)
committerJens Axboe <axboe@fb.com>
Mon, 30 Mar 2015 18:54:41 +0000 (12:54 -0600)
commit654332ac8d2c7c36f2e055e840e1dab0efbb03e3
treefe632c8b07ba7a722ebfe3a71622a0622e394440
parenta8ba542c02284403a7158bd9babea5d62c09944a
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