[PATCH 2/2] riscv: Fix __show_regs printing formats

John Ogness john.ogness at linutronix.de
Thu Nov 26 05:02:26 EST 2020


+Petr

On 2020-11-26, Kefeng Wang <wangkefeng.wang at huawei.com> wrote:
> On 2020/11/26 6:58, Atish Patra wrote:
>> On Tue, Nov 24, 2020 at 3:17 AM Kefeng Wang <wangkefeng.wang at huawei.com> wrote:
>>> Using printk directly and align the printing formats.
>>>
>> Why switch to printk ? IIRC, pr_* is preferred over printk for any new code.
>
> The stack output is strange, that is why I move to printk, and the old
> kernel looks good.

This is just a quick response to let you know I can reproduce the issue
and I am investigating.

@Petr: The proposed change and output difference is here [0].

John Ogness

[0] http://lists.infradead.org/pipermail/linux-riscv/2020-November/003320.html



More information about the linux-riscv mailing list