19 Oct
2017
19 Oct
'17
6:33 p.m.
Execution should never return from do_task(). Dump stack in the panic if we do return here.
Signed-off-by: Liam Girdwood liam.r.girdwood@linux.intel.com --- src/init/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/init/init.c b/src/init/init.c index 491a6ad..9cdd93f 100644 --- a/src/init/init.c +++ b/src/init/init.c @@ -84,6 +84,6 @@ int main(int argc, char *argv[]) err = do_task(&reef);
/* should never get here */ - panic(PANIC_TASK); + panic_dump_stack(PANIC_TASK); return err; }
--
2.11.0