Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[MMC] Fix premature use of md->disk

md->disk was being used in a debug message before it was allocated.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Pierre Ossman and committed by
Linus Torvalds
51c40327 387e2b04

+1 -1
+1 -1
drivers/mmc/mmc_block.c
··· 353 353 */ 354 354 printk(KERN_ERR "%s: unable to select block size for " 355 355 "writing (rb%u wb%u rp%u wp%u)\n", 356 - md->disk->disk_name, 356 + mmc_card_id(card), 357 357 1 << card->csd.read_blkbits, 358 358 1 << card->csd.write_blkbits, 359 359 card->csd.read_partial,