tracing: Fix the checking of stackidx in __ftrace_trace_stack
[linux-2.6-microblaze.git] / kernel / tracepoint.c
index 26efd22..3f659f8 100644 (file)
@@ -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)