Skip to content
Commit 7ff1e34b authored by Richard Weinberger's avatar Richard Weinberger
Browse files

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: default avatarRichard Weinberger <richard@nod.at>
parent 3033998b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment