um: Give start_idle_thread() a return code
authorRichard Weinberger <richard@nod.at>
Fri, 15 Jun 2018 14:42:56 +0000 (16:42 +0200)
committerRichard Weinberger <richard@nod.at>
Mon, 29 Oct 2018 21:23:11 +0000 (22:23 +0100)
commit7ff1e34bbdc15acab823b1ee4240e94623d50ee8
tree062cb8ae035a80082dd835e584be322b9a76a197
parent3033998bb8cd5a109c3171f4cde62665e3f5ce63
um: Give start_idle_thread() a return code

Fixes:
arch/um/os-Linux/skas/process.c:613:1: warning: control reaches end of
non-void function [-Wreturn-type]

longjmp() never returns but gcc still warns that the end of the function
can be reached.
Add a return code and debug aid to detect this impossible case.

Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/os-Linux/skas/process.c