[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <swfr4mu3b2o.wl%hirokazu.takata.wj@renesas.com>
Date: Thu, 13 Dec 2012 12:06:23 +0900
From: Hirokazu Takata <takata@...ux-m32r.org>
To: Joe Perches <joe@...ches.com>
Cc: Jiri Kosina <trivial@...nel.org>,
Hirokazu Takata <takata@...ux-m32r.org>,
linux-m32r@...linux-m32r.org, linux-m32r-ja@...linux-m32r.org,
linux-kernel@...r.kernel.org
Subject: Re: [TRIVIAL PATCH 08/26] m32r: Convert print_symbol to %pSR
Acked-by: Hirokazu Takata <takata@...ux-m32r.org>
Thank you.
From: Joe Perches <joe@...ches.com>
Subject: [TRIVIAL PATCH 08/26] m32r: Convert print_symbol to %pSR
Date: Wed, 12 Dec 2012 10:18:57 -0800
> Use the new vsprintf extension to avoid any possible
> message interleaving.
>
> Signed-off-by: Joe Perches <joe@...ches.com>
> ---
> arch/m32r/kernel/traps.c | 6 ++----
> 1 files changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/arch/m32r/kernel/traps.c b/arch/m32r/kernel/traps.c
> index 3bcb207..9fe3467 100644
> --- a/arch/m32r/kernel/traps.c
> +++ b/arch/m32r/kernel/traps.c
> @@ -132,10 +132,8 @@ static void show_trace(struct task_struct *task, unsigned long *stack)
> printk("Call Trace: ");
> while (!kstack_end(stack)) {
> addr = *stack++;
> - if (__kernel_text_address(addr)) {
> - printk("[<%08lx>] ", addr);
> - print_symbol("%s\n", addr);
> - }
> + if (__kernel_text_address(addr))
> + printk("[<%08lx>] %pSR\n", addr, (void *)addr);
> }
> printk("\n");
> }
> --
> 1.7.8.112.g3fd21
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists