x86, ioremap: Correct function name output
Borislav Petkov
maintainerPATCH 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.
Signed-off-by Borislav Petkov <[email protected]>
--- arch/x86/mm/ioremap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
arch/x86/mm/ioremap.c +4 -4
@@ -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
tip-bot for Borislav Petkov
merge bot[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.
Signed-off-by Borislav Petkov <[email protected]>
Signed-off-by Ingo Molnar <[email protected]>
--- arch/x86/mm/ioremap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
arch/x86/mm/ioremap.c +4 -4
@@ -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 (); }