Skip to content
Commit 11c94444 authored by Masanari Iida's avatar Masanari Iida Committed by Jens Axboe
Browse files

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: default avatarMasanari Iida <standby24x7@gmail.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 18741986
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment