mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
mmc: block: fix format string warning
Fixed the following warning (reported by cppcheck): [drivers/mmc/card/block.c:2149]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. Signed-off-by: Asaf Vertz <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
This commit is contained in:
parent
9cd0ef2b10
commit
fe82191502
1 changed files with 1 additions and 1 deletions
|
|
@ -2147,7 +2147,7 @@ static struct mmc_blk_data *mmc_blk_alloc_req(struct mmc_card *card,
|
|||
*/
|
||||
|
||||
snprintf(md->disk->disk_name, sizeof(md->disk->disk_name),
|
||||
"mmcblk%d%s", md->name_idx, subname ? subname : "");
|
||||
"mmcblk%u%s", md->name_idx, subname ? subname : "");
|
||||
|
||||
if (mmc_card_mmc(card))
|
||||
blk_queue_logical_block_size(md->queue.queue,
|
||||
|
|
|
|||
Loading…
Reference in a new issue