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
99ea2e91
Commit
99ea2e91
authored
Jun 28, 2021
by
Mark Dykes
Committed by
TrustedFirmware Code Review
Jun 28, 2021
Browse files
Merge "style(scmi_common): add \n to warning messages" into integration
parents
02f70317
05579daf
Changes
1
Show whitespace changes
Inline
Side-by-side
drivers/arm/css/scmi/scmi_common.c
View file @
99ea2e91
...
...
@@ -173,12 +173,12 @@ void *scmi_init(scmi_channel_t *ch)
ret
=
scmi_proto_version
(
ch
,
SCMI_PWR_DMN_PROTO_ID
,
&
version
);
if
(
ret
!=
SCMI_E_SUCCESS
)
{
WARN
(
"SCMI power domain protocol version message failed"
);
WARN
(
"SCMI power domain protocol version message failed
\n
"
);
goto
error
;
}
if
(
!
is_scmi_version_compatible
(
SCMI_PWR_DMN_PROTO_VER
,
version
))
{
WARN
(
"SCMI power domain protocol version 0x%x incompatible with driver version 0x%x"
,
WARN
(
"SCMI power domain protocol version 0x%x incompatible with driver version 0x%x
\n
"
,
version
,
SCMI_PWR_DMN_PROTO_VER
);
goto
error
;
}
...
...
@@ -187,12 +187,12 @@ void *scmi_init(scmi_channel_t *ch)
ret
=
scmi_proto_version
(
ch
,
SCMI_SYS_PWR_PROTO_ID
,
&
version
);
if
((
ret
!=
SCMI_E_SUCCESS
))
{
WARN
(
"SCMI system power protocol version message failed"
);
WARN
(
"SCMI system power protocol version message failed
\n
"
);
goto
error
;
}
if
(
!
is_scmi_version_compatible
(
SCMI_SYS_PWR_PROTO_VER
,
version
))
{
WARN
(
"SCMI system power management protocol version 0x%x incompatible with driver version 0x%x"
,
WARN
(
"SCMI system power management protocol version 0x%x incompatible with driver version 0x%x
\n
"
,
version
,
SCMI_SYS_PWR_PROTO_VER
);
goto
error
;
}
...
...
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