aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mmc/card/block.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c
index 4409d79ed650..8e1a60e0818d 100644
--- a/drivers/mmc/card/block.c
+++ b/drivers/mmc/card/block.c
@@ -2147,7 +2147,7 @@ static struct mmc_blk_data *mmc_blk_alloc_req(struct mmc_card *card,
2147 */ 2147 */
2148 2148
2149 snprintf(md->disk->disk_name, sizeof(md->disk->disk_name), 2149 snprintf(md->disk->disk_name, sizeof(md->disk->disk_name),
2150 "mmcblk%d%s", md->name_idx, subname ? subname : ""); 2150 "mmcblk%u%s", md->name_idx, subname ? subname : "");
2151 2151
2152 if (mmc_card_mmc(card)) 2152 if (mmc_card_mmc(card))
2153 blk_queue_logical_block_size(md->queue.queue, 2153 blk_queue_logical_block_size(md->queue.queue,