Metag supports 64-bit user copy operations, but test_user_copy triggers compiler warnings due to the 64-bit integer literals not fitting in a long type: lib/test_user_copy.c:117: warning: integer constant is too large for ‘long’ type Use the ll suffix on the large integer literals to silence the warnings. Signed-off-by: James Hogan <james.hogan@xxxxxxxxxx> Cc: linux-metag@xxxxxxxxxxxxxxx Cc: Kees Cook <keescook@xxxxxxxxxxxx> --- lib/test_user_copy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/test_user_copy.c b/lib/test_user_copy.c index 1a8d71a68531..9845d5e2cc21 100644 --- a/lib/test_user_copy.c +++ b/lib/test_user_copy.c @@ -114,7 +114,7 @@ static int __init test_user_copy_init(void) test_legit(u16, 0x5a5b); test_legit(u32, 0x5a5b5c5d); #ifdef TEST_U64 - test_legit(u64, 0x5a5b5c5d6a6b6c6d); + test_legit(u64, 0x5a5b5c5d6a6b6c6dll); #endif #undef test_legit @@ -172,7 +172,7 @@ static int __init test_user_copy_init(void) test_illegal(u16, 0x5a5b); test_illegal(u32, 0x5a5b5c5d); #ifdef TEST_U64 - test_illegal(u64, 0x5a5b5c5d6a6b6c6d); + test_illegal(u64, 0x5a5b5c5d6a6b6c6dll); #endif #undef test_illegal -- git-series 0.8.10 -- To unsubscribe from this list: send the line "unsubscribe linux-metag" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html