From: Richard W. <ri...@no...> - 2018-04-12 06:40:41
|
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 <ri...@no...> Applied. Thanks, //richard |