Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
bb68a9d6
Commit
bb68a9d6
authored
Oct 07, 2020
by
Madhukar Pappireddy
Committed by
TrustedFirmware Code Review
Oct 07, 2020
Browse files
Merge "fdt: Fix coverity complaint about 32-bit multiplication" into integration
parents
a4fdb893
4276cfe2
Changes
1
Hide whitespace changes
Inline
Side-by-side
common/fdt_fixup.c
View file @
bb68a9d6
...
@@ -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
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment