Remove multiple KERN_ prefixes from printk formats
Commit 5fd29d6ccb
("printk: clean up
handling of log-levels and newlines") changed printk semantics. printk
lines with multiple KERN_<level> prefixes are no longer emitted as
before the patch.
<level> is now included in the output on each additional use.
Remove all uses of multiple KERN_<level>s in formats.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Šī revīzija ir iekļauta:

revīziju iesūtīja
Linus Torvalds

vecāks
e3288775ff
revīzija
ad361c9884
@@ -583,7 +583,7 @@ static int ssb_pcmcia_sprom_write_all(struct ssb_bus *bus, const u16 *sprom)
|
||||
ssb_printk(".");
|
||||
err = ssb_pcmcia_sprom_write(bus, i, sprom[i]);
|
||||
if (err) {
|
||||
ssb_printk("\n" KERN_NOTICE PFX
|
||||
ssb_printk(KERN_NOTICE PFX
|
||||
"Failed to write to SPROM.\n");
|
||||
failed = 1;
|
||||
break;
|
||||
@@ -591,7 +591,7 @@ static int ssb_pcmcia_sprom_write_all(struct ssb_bus *bus, const u16 *sprom)
|
||||
}
|
||||
err = ssb_pcmcia_sprom_command(bus, SSB_PCMCIA_SPROMCTL_WRITEDIS);
|
||||
if (err) {
|
||||
ssb_printk("\n" KERN_NOTICE PFX
|
||||
ssb_printk(KERN_NOTICE PFX
|
||||
"Could not disable SPROM write access.\n");
|
||||
failed = 1;
|
||||
}
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user