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

mmc: add missing printk levels

Some printk:s were missing an explicit level.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>

+8 -10
+2 -2
drivers/mmc/core/mmc.c
··· 100 100 break; 101 101 102 102 default: 103 - printk("%s: card has unknown MMCA version %d\n", 103 + printk(KERN_ERR "%s: card has unknown MMCA version %d\n", 104 104 mmc_hostname(card->host), card->csd.mmca_vsn); 105 105 return -EINVAL; 106 106 } ··· 123 123 */ 124 124 csd_struct = UNSTUFF_BITS(resp, 126, 2); 125 125 if (csd_struct != 1 && csd_struct != 2) { 126 - printk("%s: unrecognised CSD structure version %d\n", 126 + printk(KERN_ERR "%s: unrecognised CSD structure version %d\n", 127 127 mmc_hostname(card->host), csd_struct); 128 128 return -EINVAL; 129 129 }
+6 -8
drivers/mmc/core/sd.c
··· 149 149 csd->write_partial = 0; 150 150 break; 151 151 default: 152 - printk("%s: unrecognised CSD structure version %d\n", 152 + printk(KERN_ERR "%s: unrecognised CSD structure version %d\n", 153 153 mmc_hostname(card->host), csd_struct); 154 154 return -EINVAL; 155 155 } ··· 173 173 174 174 scr_struct = UNSTUFF_BITS(resp, 60, 4); 175 175 if (scr_struct != 0) { 176 - printk("%s: unrecognised SCR structure version %d\n", 176 + printk(KERN_ERR "%s: unrecognised SCR structure version %d\n", 177 177 mmc_hostname(card->host), scr_struct); 178 178 return -EINVAL; 179 179 } ··· 206 206 207 207 status = kmalloc(64, GFP_KERNEL); 208 208 if (!status) { 209 - printk("%s: could not allocate a buffer for switch " 210 - "capabilities.\n", 211 - mmc_hostname(card->host)); 209 + printk(KERN_ERR "%s: could not allocate a buffer for " 210 + "switch capabilities.\n", mmc_hostname(card->host)); 212 211 return err; 213 212 } 214 213 ··· 253 254 254 255 status = kmalloc(64, GFP_KERNEL); 255 256 if (!status) { 256 - printk("%s: could not allocate a buffer for switch " 257 - "capabilities.\n", 258 - mmc_hostname(card->host)); 257 + printk(KERN_ERR "%s: could not allocate a buffer for " 258 + "switch capabilities.\n", mmc_hostname(card->host)); 259 259 return err; 260 260 } 261 261