Skip to content

Commit 6d9153b

Browse files
Lan Tianyuingomolnar
authored andcommitted
x86/reboot: Correct pr_info() log message in the set_bios/pci/kbd_reboot()
commit: c767a54 x86/debug: Add KERN_<LEVEL> to bare printks, convert printks to pr_<level> broke the log messages in the set_bios/pci/kbd_reboot() functions, by putting the reboot method string and quirk entry's ident string in the wrong order. This patch fixes it. Signed-off-by: Lan Tianyu <tianyu.lan@intel.com> Cc: holt@sgi.com Cc: davej@fedoraproject.org Cc: lenb@kernel.org Cc: rjw@rjwysocki.net Cc: awilliam@redhat.com Link: http://lkml.kernel.org/r/1382598693-29334-1-git-send-email-tianyu.lan@intel.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent e56e57f commit 6d9153b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎arch/x86/kernel/reboot.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ static int __init set_bios_reboot(const struct dmi_system_id *d)
6161
if (reboot_type != BOOT_BIOS) {
6262
reboot_type = BOOT_BIOS;
6363
pr_info("%s series board detected. Selecting %s-method for reboots.\n",
64-
"BIOS", d->ident);
64+
d->ident, "BIOS");
6565
}
6666
return 0;
6767
}
@@ -117,7 +117,7 @@ static int __init set_pci_reboot(const struct dmi_system_id *d)
117117
if (reboot_type != BOOT_CF9) {
118118
reboot_type = BOOT_CF9;
119119
pr_info("%s series board detected. Selecting %s-method for reboots.\n",
120-
"PCI", d->ident);
120+
d->ident, "PCI");
121121
}
122122
return 0;
123123
}
@@ -127,7 +127,7 @@ static int __init set_kbd_reboot(const struct dmi_system_id *d)
127127
if (reboot_type != BOOT_KBD) {
128128
reboot_type = BOOT_KBD;
129129
pr_info("%s series board detected. Selecting %s-method for reboot.\n",
130-
"KBD", d->ident);
130+
d->ident, "KBD");
131131
}
132132
return 0;
133133
}

0 commit comments

Comments
 (0)