Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
4 years ago
by
Madhukar Pappireddy
Committed by
TrustedFirmware Code Review
4 years ago
Browse files
Options
Download
Plain Diff
Merge "fdt: Fix coverity complaint about 32-bit multiplication" into integration
parents
a4fdb893
4276cfe2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/fdt_fixup.c
+2
-1
common/fdt_fixup.c
with
2 additions
and
1 deletion
+2
-1
common/fdt_fixup.c
View file @
bb68a9d6
...
...
@@ -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
;
}
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help