mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-18 18:44:22 +00:00
Merge "fdt: Fix coverity complaint about 32-bit multiplication" into integration
This commit is contained in:
commit
bb68a9d602
1 changed files with 2 additions and 1 deletions
|
@ -425,7 +425,8 @@ int fdt_adjust_gic_redist(void *dtb, unsigned int nr_cores,
|
|||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue