Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 023dcd25 authored by Joe Perches's avatar Joe Perches Committed by Jiri Kosina
Browse files

arm: Use vsprintf extention %pf with builtin_return_address



Emit the function name not the address when possible.

builtin_return_address() gives an address.  When building
a kernel with CONFIG_KALLSYMS, emit the actual function
name not the address.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent a19568eb
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -147,7 +147,7 @@ void float_raise(signed char flags)
#ifdef CONFIG_DEBUG_USER
#ifdef CONFIG_DEBUG_USER
	if (flags & debug)
	if (flags & debug)
 		printk(KERN_DEBUG
 		printk(KERN_DEBUG
		       "NWFPE: %s[%d] takes exception %08x at %p from %08lx\n",
		       "NWFPE: %s[%d] takes exception %08x at %pf from %08lx\n",
		       current->comm, current->pid, flags,
		       current->comm, current->pid, flags,
		       __builtin_return_address(0), GET_USERREG()->ARM_pc);
		       __builtin_return_address(0), GET_USERREG()->ARM_pc);
#endif
#endif