Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63049
b: refs/heads/master
c: facba91
h: refs/heads/master
i:
  63047: aacb564
v: v3
  • Loading branch information
Pierre Ossman committed Jul 26, 2007
1 parent d75b445 commit 9c2f25c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 462f104ba6a65ea2128462e2ef0c3adb18609954
refs/heads/master: facba9179e3cd5fa91ff40bbc555c5cd4c101092
4 changes: 2 additions & 2 deletions trunk/drivers/mmc/core/mmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ static int mmc_decode_cid(struct mmc_card *card)
break;

default:
printk("%s: card has unknown MMCA version %d\n",
printk(KERN_ERR "%s: card has unknown MMCA version %d\n",
mmc_hostname(card->host), card->csd.mmca_vsn);
return -EINVAL;
}
Expand All @@ -123,7 +123,7 @@ static int mmc_decode_csd(struct mmc_card *card)
*/
csd_struct = UNSTUFF_BITS(resp, 126, 2);
if (csd_struct != 1 && csd_struct != 2) {
printk("%s: unrecognised CSD structure version %d\n",
printk(KERN_ERR "%s: unrecognised CSD structure version %d\n",
mmc_hostname(card->host), csd_struct);
return -EINVAL;
}
Expand Down
14 changes: 6 additions & 8 deletions trunk/drivers/mmc/core/sd.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ static int mmc_decode_csd(struct mmc_card *card)
csd->write_partial = 0;
break;
default:
printk("%s: unrecognised CSD structure version %d\n",
printk(KERN_ERR "%s: unrecognised CSD structure version %d\n",
mmc_hostname(card->host), csd_struct);
return -EINVAL;
}
Expand All @@ -173,7 +173,7 @@ static int mmc_decode_scr(struct mmc_card *card)

scr_struct = UNSTUFF_BITS(resp, 60, 4);
if (scr_struct != 0) {
printk("%s: unrecognised SCR structure version %d\n",
printk(KERN_ERR "%s: unrecognised SCR structure version %d\n",
mmc_hostname(card->host), scr_struct);
return -EINVAL;
}
Expand Down Expand Up @@ -206,9 +206,8 @@ static int mmc_read_switch(struct mmc_card *card)

status = kmalloc(64, GFP_KERNEL);
if (!status) {
printk("%s: could not allocate a buffer for switch "
"capabilities.\n",
mmc_hostname(card->host));
printk(KERN_ERR "%s: could not allocate a buffer for "
"switch capabilities.\n", mmc_hostname(card->host));
return err;
}

Expand Down Expand Up @@ -254,9 +253,8 @@ static int mmc_switch_hs(struct mmc_card *card)

status = kmalloc(64, GFP_KERNEL);
if (!status) {
printk("%s: could not allocate a buffer for switch "
"capabilities.\n",
mmc_hostname(card->host));
printk(KERN_ERR "%s: could not allocate a buffer for "
"switch capabilities.\n", mmc_hostname(card->host));
return err;
}

Expand Down

0 comments on commit 9c2f25c

Please sign in to comment.