commit | bb68a9d602e456dad89fbfc777cb435059d42964 | [log] [tgz] |
---|---|---|
author | Madhukar Pappireddy <madhukar.pappireddy@arm.com> | Wed Oct 07 14:28:11 2020 +0000 |
committer | TrustedFirmware Code Review <review@review.trustedfirmware.org> | Wed Oct 07 14:28:11 2020 +0000 |
tree | d91efcb482e807a5b3ef52886df5614fe902e129 | |
parent | a4fdb893a8f205150cf859931a003ff41387f41b [diff] | |
parent | 4276cfe2fa6fba6dc71a2cc3c0c2a5cc194ce542 [diff] |
Merge "fdt: Fix coverity complaint about 32-bit multiplication" into integration
diff --git a/common/fdt_fixup.c b/common/fdt_fixup.c index a1604e7..e88a550 100644 --- a/common/fdt_fixup.c +++ b/common/fdt_fixup.c
@@ -425,7 +425,8 @@ redist_size_32 = cpu_to_fdt32(nr_cores * gicr_frame_size); val = &redist_size_32; } else { - redist_size_64 = cpu_to_fdt64(nr_cores * gicr_frame_size); + redist_size_64 = cpu_to_fdt64(nr_cores * + (uint64_t)gicr_frame_size); val = &redist_size_64; }