diff --git a/include/linux/sched/topology.h b/include/linux/sched/topology.h
index af9319e4cfb967c98a3a151bbe5829675308fea5..95253ad792b0c85ab020b026507b8283a08a09fb 100644
--- a/include/linux/sched/topology.h
+++ b/include/linux/sched/topology.h
@@ -142,7 +142,7 @@ struct sched_domain {
 	 * by attaching extra space to the end of the structure,
 	 * depending on how many CPUs the kernel has booted up with)
 	 */
-	unsigned long span[0];
+	unsigned long span[];
 };
 
 static inline struct cpumask *sched_domain_span(struct sched_domain *sd)