summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/crash_dump.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-10-04 18:50:42 +0200
committerRalf Baechle <ralf@linux-mips.org>2014-11-24 07:44:51 +0100
commit7178d2cdd9f5f70902dd0201ebcf01c9489c4afb (patch)
tree3fe2fbb9996549586e567aa06c17a5ed38515d57 /arch/mips/kernel/crash_dump.c
parentMIPS: pci-rt3883: Remove odd locking in PCI config space access code (diff)
downloadlinux-7178d2cdd9f5f70902dd0201ebcf01c9489c4afb.tar.xz
linux-7178d2cdd9f5f70902dd0201ebcf01c9489c4afb.zip
mips: Convert pr_warning to pr_warn
Use the much more common pr_warn instead of pr_warning with the goal of removing pr_warning eventually. Other miscellanea: o Coalesce formats o Realign arguments Signed-off-by: Joe Perches <joe@perches.com> Cc: linux-mips <linux-mips@linux-mips.org> Cc: LKML <linux-kernel@vger.kernel.org> Patchwork: https://patchwork.linux-mips.org/patch/7935/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/crash_dump.c')
-rw-r--r--arch/mips/kernel/crash_dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/kernel/crash_dump.c b/arch/mips/kernel/crash_dump.c
index f291cf99b03a..6fe7790e5868 100644
--- a/arch/mips/kernel/crash_dump.c
+++ b/arch/mips/kernel/crash_dump.c
@@ -38,7 +38,7 @@ ssize_t copy_oldmem_page(unsigned long pfn, char *buf,
kunmap_atomic(vaddr);
} else {
if (!kdump_buf_page) {
- pr_warning("Kdump: Kdump buffer page not allocated\n");
+ pr_warn("Kdump: Kdump buffer page not allocated\n");
return -EFAULT;
}
@@ -57,7 +57,7 @@ static int __init kdump_buf_page_init(void)
kdump_buf_page = kmalloc(PAGE_SIZE, GFP_KERNEL);
if (!kdump_buf_page) {
- pr_warning("Kdump: Failed to allocate kdump buffer page\n");
+ pr_warn("Kdump: Failed to allocate kdump buffer page\n");
ret = -ENOMEM;
}