summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/lmb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/lmb.h b/include/lmb.h
index d3adf8ef696..898ce15d076 100644
--- a/include/lmb.h
+++ b/include/lmb.h
@@ -20,7 +20,7 @@ struct lmb_property {
struct lmb_region {
unsigned long cnt;
unsigned long max;
- struct lmb_property region[CONFIG_LMB_MAX_REGIONS + 1];
+ struct lmb_property region[CONFIG_LMB_MAX_REGIONS];
};
struct lmb {