The context test defines and tests a __cond_lock mechanism similar to the kernel, but then applies it to a function that returns void. Change that to int. Signed-off-by: Josh Triplett <josh@xxxxxxxxxxxxxxxx> --- validation/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validation/context.c b/validation/context.c index 33b70b8..b9500dc 100644 --- a/validation/context.c +++ b/validation/context.c @@ -10,7 +10,7 @@ static void r(void) __attribute__((context(1,0))) __context__(-1); } -extern void _ca(int fail); +extern int _ca(int fail); #define ca(fail) __cond_lock(_ca(fail)) static void good_paired1(void) -- 1.9.rc1 -- 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