tapaio build fix
PATCH 1/1 tapaio build fix
With some combinations of compiler flags (no optimization, -Werror), the compiler may complain that the function doesn't have a return statement (even if the function actually just never returns), reported as bug 1128. This adds a dummy return statement.
Signed-off-by Samuel Thibault <[email protected]>
tools/blktap/drivers/tapaio.c +1 -0
@@ -82,6 +82,7 @@ tap_aio_completion_thread(void *arg) } }while (!rc); } +return NULL ; }void