Re: [PATCH] um: Fix return value of start_idle_thread

From: Richard Weinberger
Date: Thu Apr 12 2018 - 02:40:37 EST


Am Donnerstag, 29. MÃrz 2018, 22:45:59 CEST schrieb Richard Weinberger:
> While the function will never returns, gcc will warns.
> Add a return statement to make gcc happy.
> Before f44f1e7da7c8 we never noticed because gcc knows that longjmp does
> not return.
>
> arch/um/os-Linux/skas/process.c: In function âstart_idle_threadâ:
> arch/um/os-Linux/skas/process.c:613:1: warning: control reaches end of non-void function [-Wreturn-type]
>
> Fixes: f44f1e7da7c8 ("um: Avoid longjmp/setjmp symbol clashes with libpthread.a")
> Signed-off-by: Richard Weinberger <richard@xxxxxx>

Applied.

Thanks,
//richard