Commit 51c40327 authored by Pierre Ossman's avatar Pierre Ossman Committed by Linus Torvalds

[MMC] Fix premature use of md->disk

md->disk was being used in a debug message before it was allocated.
Signed-off-by: default avatarPierre Ossman <>
Signed-off-by: default avatarLinus Torvalds <>
parent 387e2b04
......@@ -353,7 +353,7 @@ static struct mmc_blk_data *mmc_blk_alloc(struct mmc_card *card)
printk(KERN_ERR "%s: unable to select block size for "
"writing (rb%u wb%u rp%u wp%u)\n",
1 << card->csd.read_blkbits,
1 << card->csd.write_blkbits,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment