···100100 break;101101102102 default:103103- printk("%s: card has unknown MMCA version %d\n",103103+ printk(KERN_ERR "%s: card has unknown MMCA version %d\n",104104 mmc_hostname(card->host), card->csd.mmca_vsn);105105 return -EINVAL;106106 }···123123 */124124 csd_struct = UNSTUFF_BITS(resp, 126, 2);125125 if (csd_struct != 1 && csd_struct != 2) {126126- printk("%s: unrecognised CSD structure version %d\n",126126+ printk(KERN_ERR "%s: unrecognised CSD structure version %d\n",127127 mmc_hostname(card->host), csd_struct);128128 return -EINVAL;129129 }
+6-8
drivers/mmc/core/sd.c
···149149 csd->write_partial = 0;150150 break;151151 default:152152- printk("%s: unrecognised CSD structure version %d\n",152152+ printk(KERN_ERR "%s: unrecognised CSD structure version %d\n",153153 mmc_hostname(card->host), csd_struct);154154 return -EINVAL;155155 }···173173174174 scr_struct = UNSTUFF_BITS(resp, 60, 4);175175 if (scr_struct != 0) {176176- printk("%s: unrecognised SCR structure version %d\n",176176+ printk(KERN_ERR "%s: unrecognised SCR structure version %d\n",177177 mmc_hostname(card->host), scr_struct);178178 return -EINVAL;179179 }···206206207207 status = kmalloc(64, GFP_KERNEL);208208 if (!status) {209209- printk("%s: could not allocate a buffer for switch "210210- "capabilities.\n",211211- mmc_hostname(card->host));209209+ printk(KERN_ERR "%s: could not allocate a buffer for "210210+ "switch capabilities.\n", mmc_hostname(card->host));212211 return err;213212 }214213···253254254255 status = kmalloc(64, GFP_KERNEL);255256 if (!status) {256256- printk("%s: could not allocate a buffer for switch "257257- "capabilities.\n",258258- mmc_hostname(card->host));257257+ printk(KERN_ERR "%s: could not allocate a buffer for "258258+ "switch capabilities.\n", mmc_hostname(card->host));259259 return err;260260 }261261