projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
387e2b0
)
[MMC] Fix premature use of md->disk
author
Pierre Ossman
<drzeus@drzeus.cx>
Wed, 24 May 2006 08:20:45 +0000
(10:20 +0200)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Wed, 24 May 2006 15:35:31 +0000
(08:35 -0700)
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>
drivers/mmc/mmc_block.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/mmc_block.c
b/drivers/mmc/mmc_block.c
index
e39cc05
..
587458b
100644
(file)
--- a/
drivers/mmc/mmc_block.c
+++ b/
drivers/mmc/mmc_block.c
@@
-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",
- m
d->disk->disk_name
,
+ m
mc_card_id(card)
,
1 << card->csd.read_blkbits,
1 << card->csd.write_blkbits,
card->csd.read_partial,