Fixes the late_initcall signature, as reported by kbuildbot Also rename the test function to be more consistent with other in-kernel test-cases. Signed-off-by: Paolo Abeni --- net/mptcp/crypto.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net/mptcp/crypto.c b/net/mptcp/crypto.c index 68f1758b96c2..40d1bb18fd60 100644 --- a/net/mptcp/crypto.c +++ b/net/mptcp/crypto.c @@ -120,7 +120,7 @@ static struct test_cast tests[] = { }, }; -static void __init crypto_test(void) +static int __init test_mptcp_crypto(void) { char hmac[20], hmac_hex[41]; u32 nonce1, nonce2; @@ -145,7 +145,8 @@ static void __init crypto_test(void) else pr_info("test %d [ ok ]", i); } + return 0; } -late_initcall(crypto_test); +late_initcall(test_mptcp_crypto); #endif -- 2.21.0