Commit bb68a9d6 authored by Madhukar Pappireddy's avatar Madhukar Pappireddy Committed by TrustedFirmware Code Review
Browse files

Merge "fdt: Fix coverity complaint about 32-bit multiplication" into integration

parents a4fdb893 4276cfe2
...@@ -425,7 +425,8 @@ int fdt_adjust_gic_redist(void *dtb, unsigned int nr_cores, ...@@ -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); redist_size_32 = cpu_to_fdt32(nr_cores * gicr_frame_size);
val = &redist_size_32; val = &redist_size_32;
} else { } 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; val = &redist_size_64;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment