commit | 65c8958cc6def74724001356d1175a0214f7d4c1 | [log] [tgz] |
---|---|---|
author | Soby Mathew <soby.mathew@arm.com> | Thu Jun 27 15:33:06 2024 +0200 |
committer | TrustedFirmware Code Review <review@review.trustedfirmware.org> | Thu Jun 27 15:33:06 2024 +0200 |
tree | 00210c3b94fe96c0d1cae80425f9909377674cf0 | |
parent | c59abf979d17ce1ed19381cb9d20903b3f0452c0 [diff] | |
parent | a256551a6db0227e1fc52416e2823edcfe32f3a6 [diff] |
Merge "fix(gpt): fix GPT library fill_l1_tbl() function" into integration
diff --git a/lib/gpt_rme/gpt_rme.c b/lib/gpt_rme/gpt_rme.c index ee502de..d028fce 100644 --- a/lib/gpt_rme/gpt_rme.c +++ b/lib/gpt_rme/gpt_rme.c
@@ -847,7 +847,7 @@ assert(GPT_L0_IDX(first) == GPT_L0_IDX(last)); #if (RME_GPT_MAX_BLOCK != 0) - while (first < last) { + while (first <= last) { /* Region length */ size_t length = last - first + GPT_PGS_ACTUAL_SIZE(gpt_config.p);