diff --git a/kernel/tracepoint.c b/kernel/tracepoint.c
index 26efd22f063396dc6c488da618c54020ecea682a..3f659f8550741011273a10c89b5053c474b66614 100644
--- a/kernel/tracepoint.c
+++ b/kernel/tracepoint.c
@@ -50,7 +50,7 @@ static bool ok_to_free_tracepoints;
  */
 struct tp_probes {
 	struct rcu_head rcu;
-	struct tracepoint_func probes[0];
+	struct tracepoint_func probes[];
 };
 
 static inline void *allocate_probes(int count)