mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
e3288775ff
commit
ad361c9884
70 changed files with 330 additions and 338 deletions
|
|
@ -60,11 +60,12 @@ struct serial_private {
|
|||
|
||||
static void moan_device(const char *str, struct pci_dev *dev)
|
||||
{
|
||||
printk(KERN_WARNING "%s: %s\n"
|
||||
KERN_WARNING "Please send the output of lspci -vv, this\n"
|
||||
KERN_WARNING "message (0x%04x,0x%04x,0x%04x,0x%04x), the\n"
|
||||
KERN_WARNING "manufacturer and name of serial board or\n"
|
||||
KERN_WARNING "modem board to [email protected].\n",
|
||||
printk(KERN_WARNING
|
||||
"%s: %s\n"
|
||||
"Please send the output of lspci -vv, this\n"
|
||||
"message (0x%04x,0x%04x,0x%04x,0x%04x), the\n"
|
||||
"manufacturer and name of serial board or\n"
|
||||
"modem board to [email protected].\n",
|
||||
pci_name(dev), str, dev->vendor, dev->device,
|
||||
dev->subsystem_vendor, dev->subsystem_device);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue