Re: [PATCH] riscv: stacktrace: fix dump_backtrace/walk_stackframe with NULL task

From: Changbin Du
Date: Tue Jul 27 2021 - 18:17:04 EST


On Mon, Jun 28, 2021 at 01:44:04PM +0800, Jisheng Zhang wrote:
> On Sun, 27 Jun 2021 17:26:59 +0800
> Changbin Du <changbin.du@xxxxxxxxx> wrote:
>
>
> >
> >
> > Some places try to show backtrace with NULL task, and expect the task is
> > 'current'. For example, dump_stack()->show_stack(NULL,...). So the
> > stacktrace code should take care of this case.
>
> I fixed this issue one week ago:
>
> http://lists.infradead.org/pipermail/linux-riscv/2021-June/007258.html

I still see this issue on mainline. Is your fix merged? Thanks!


--
Cheers,
Changbin Du