x86/ioremap: Correct function name output
authorBorislav Petkov <bp@suse.de>
Thu, 27 Jun 2013 21:53:16 +0000 (23:53 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 28 Jun 2013 09:11:58 +0000 (11:11 +0200)
Infact, let the compiler enter the function name so that there
are no discrepancies.

Signed-off-by: Borislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/1372369996-20556-1-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/mm/ioremap.c

index 9a1e658..0215e2c 100644 (file)
@@ -501,15 +501,15 @@ __early_ioremap(resource_size_t phys_addr, unsigned long size, pgprot_t prot)
        }
 
        if (slot < 0) {
-               printk(KERN_INFO "early_iomap(%08llx, %08lx) not found slot\n",
-                        (u64)phys_addr, size);
+               printk(KERN_INFO "%s(%08llx, %08lx) not found slot\n",
+                      __func__, (u64)phys_addr, size);
                WARN_ON(1);
                return NULL;
        }
 
        if (early_ioremap_debug) {
-               printk(KERN_INFO "early_ioremap(%08llx, %08lx) [%d] => ",
-                      (u64)phys_addr, size, slot);
+               printk(KERN_INFO "%s(%08llx, %08lx) [%d] => ",
+                      __func__, (u64)phys_addr, size, slot);
                dump_stack();
        }