The result implicitely depended on longs and/or pointers being 64 bit or just bigger than ints. Fix this by running the test with the -m64 flag. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- validation/bool-cast-explicit.c | 2 +- validation/bool-cast-implicit.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/validation/bool-cast-explicit.c b/validation/bool-cast-explicit.c index 6f9c4d461..4e3c2b7ce 100644 --- a/validation/bool-cast-explicit.c +++ b/validation/bool-cast-explicit.c @@ -16,7 +16,7 @@ static _Bool fres(le16 a) { return (_Bool)a; } /* * check-name: bool-cast-explicit - * check-command: test-linearize $file + * check-command: test-linearize -m64 $file * check-output-ignore * check-output-excludes: cast\\. * diff --git a/validation/bool-cast-implicit.c b/validation/bool-cast-implicit.c index 0e0e69a45..ee8b705b9 100644 --- a/validation/bool-cast-implicit.c +++ b/validation/bool-cast-implicit.c @@ -16,7 +16,7 @@ static _Bool fres(le16 a) { return a; } /* * check-name: bool-cast-implicit - * check-command: test-linearize $file + * check-command: test-linearize -m64 $file * check-output-ignore * check-output-excludes: cast\\. * -- 2.12.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