diff --git a/lib/test_hash.c b/lib/test_hash.c
index c9549c8b49090d7e3bd7ee1484f31ae313334511..fd7a677100ebe9355924c88d8e3d153a4bce0ce6 100644
--- a/lib/test_hash.c
+++ b/lib/test_hash.c
@@ -143,7 +143,7 @@ static int __init
 test_hash_init(void)
 {
 	char buf[SIZE+1];
-	u32 string_or = 0, hash_or[2][33] = { 0 };
+	u32 string_or = 0, hash_or[2][33] = { { 0, } };
 	unsigned tests = 0;
 	unsigned long long h64 = 0;
 	int i, j;