hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/hwspinlock/hwspinlock_internal.h
....@@ -56,7 +56,7 @@
5656 const struct hwspinlock_ops *ops;
5757 int base_id;
5858 int num_locks;
59
- struct hwspinlock lock[0];
59
+ struct hwspinlock lock[];
6060 };
6161
6262 static inline int hwlock_to_id(struct hwspinlock *hwlock)