aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorHeyi Guo <guoheyi@linux.alibaba.com>2021-06-08 19:59:53 +0800
committerHeyi Guo <guoheyi@linux.alibaba.com>2021-06-08 20:10:35 +0800
commit05579daf794e492b45f7f6f0613fa72921163398 (patch)
tree660282644062a4b42d69456a7a0bee15f487b6a8 /drivers
parentb39a1308abbc0bbcca0e9f8865dff710d0ab23df (diff)
downloadtrusted-firmware-a-05579daf794e492b45f7f6f0613fa72921163398.tar.gz
style(scmi_common): add \n to warning messages
Add newline(\n) to make the message clearer when the warnings are really triggered. Signed-off-by: Heyi Guo <guoheyi@linux.alibaba.com> Change-Id: I5e2574a52c9065db32ecb4d453b9b02445f69a82
Diffstat (limited to 'drivers')
-rw-r--r--drivers/arm/css/scmi/scmi_common.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/arm/css/scmi/scmi_common.c b/drivers/arm/css/scmi/scmi_common.c
index 5b3724ace6..ec749fb561 100644
--- a/drivers/arm/css/scmi/scmi_common.c
+++ b/drivers/arm/css/scmi/scmi_common.c
@@ -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;
}