commit | 11832f3cfbdad1b6120b5411ae2551b3acd0f37b | [log] [tgz] |
---|---|---|
author | Richard Weinberger <richard@nod.at> | Fri Jun 15 16:42:56 2018 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Nov 27 16:09:38 2018 +0100 |
tree | b5e309afd37b8c99a92a3b29fd6122f55cfae22a | |
parent | 8b275768a13bdf0d949b78c78db8065065a3a8d9 [diff] |
um: Give start_idle_thread() a return code [ Upstream commit 7ff1e34bbdc15acab823b1ee4240e94623d50ee8 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>