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
f19d2104
Unverified
Commit
f19d2104
authored
Oct 03, 2018
by
Soby Mathew
Committed by
GitHub
Oct 03, 2018
Browse files
Merge pull request #1591 from jts-arm/cov1
Fix static analysis defects
parents
f60a74af
fa06b744
Changes
1
Hide whitespace changes
Inline
Side-by-side
plat/arm/css/sgi/sgi_image_load.c
View file @
f19d2104
...
...
@@ -39,10 +39,15 @@ static int plat_sgi_append_config_node(void)
platform_name
=
(
char
*
)
fdt_getprop
(
fdt
,
0
,
"compatible"
,
NULL
);
if
(
platform_name
==
NULL
)
{
ERROR
(
"Invalid HW_CONFIG DTB passed
\n
"
);
return
-
1
;
}
if
(
strcmp
(
platform_name
,
"arm,sgi575"
)
==
0
)
{
platid
=
mmio_read_32
(
SSC_VERSION
);
}
else
{
WARN
(
"Invalid platform
\n
"
);
WARN
(
"Invalid platform
\n
"
);
return
-
1
;
}
...
...
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