Skip to contentSkip to conversation

x86, ioremap: Correct function name output

PATCH New Borislav Petkov 2 participants 2 messages Jun 27, 2013 – Jun 28, 2013

Subsystems (2)
lore
Share & tools
lore

Borislav Petkov

author maintainer
#0 lore raw

PATCH 1/1 x86, ioremap: Correct function name output

From: Borislav Petkov <[email protected]>

Infact, let the compiler enter the function name so that there are no discrepancies.

---
 arch/x86/mm/ioremap.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
arch/x86/mm/ioremap.c +4 -4
index 9a1e6583910c..0215e2c563ef 100644
@@ -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();
 	}
 
Signature · 1 line
1.8.3
#1 lore raw

[tip:x86/mm] x86/ioremap: Correct function name output

x86/ioremap: Correct function name output
Commit-ID:  4f4319a02a6108be3e65b9d44d1b7f5e8f520535
Gitweb:     http://git.kernel.org/tip/4f4319a02a6108be3e65b9d44d1b7f5e8f520535
Author:     Borislav Petkov <[email protected]>
AuthorDate: Thu, 27 Jun 2013 23:53:16 +0200
Committer:  Ingo Molnar <[email protected]>
CommitDate: Fri, 28 Jun 2013 11:11:58 +0200

x86/ioremap: Correct function name output

Infact, let the compiler enter the function name so that there are no discrepancies.

---
 arch/x86/mm/ioremap.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
arch/x86/mm/ioremap.c +4 -4
index 9a1e658..0215e2c 100644
@@ -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();
 	}