Re: [PATCH] [trivial] block: Fix type mismatch in ssize_t_blk_mq_tag_sysfs_show

From: Jens Axboe
Date: Mon Feb 10 2014 - 12:40:24 EST




On 02/10/2014 10:27 AM, Masanari Iida wrote:
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.

Thanks, applied.

--
Jens Axboe
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/