The functon used in te test case has a return type of 'int' but has nothing to return. This was not diagnosticated. Fix this by using the correct return type: 'void' Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- validation/kill-phi-ttsbb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validation/kill-phi-ttsbb.c b/validation/kill-phi-ttsbb.c index 178a65d19..7fea30bfd 100644 --- a/validation/kill-phi-ttsbb.c +++ b/validation/kill-phi-ttsbb.c @@ -1,7 +1,7 @@ int def(void); void use(int); -static int foo(int a, int b) +static void foo(int a, int b) { int c; -- 2.14.0 -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html