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
ee91cd2e
Commit
ee91cd2e
authored
Mar 27, 2020
by
Manish Pandey
Committed by
TrustedFirmware Code Review
Mar 27, 2020
Browse files
Merge "plat/arm/sgi: fix the incorrect check for SCMI channel ID" into integration
parents
527ac2e7
5c215de2
Changes
1
Hide whitespace changes
Inline
Side-by-side
plat/arm/css/sgi/sgi_bl31_setup.c
View file @
ee91cd2e
...
...
@@ -75,7 +75,7 @@ scmi_channel_plat_info_t *plat_css_get_scmi_info(int channel_id)
{
if
(
sgi_plat_info
.
platform_id
==
RD_N1E1_EDGE_SID_VER_PART_NUM
||
sgi_plat_info
.
platform_id
==
RD_DANIEL_SID_VER_PART_NUM
)
{
if
(
channel_id
>=
sizeof
(
rd_n1e1_edge_scmi_plat_info
))
if
(
channel_id
>=
ARRAY_SIZE
(
rd_n1e1_edge_scmi_plat_info
))
panic
();
return
&
rd_n1e1_edge_scmi_plat_info
[
channel_id
];
}
...
...
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