summaryrefslogtreecommitdiffstats
path: root/drivers/platform/chrome/wilco_ec/mailbox.c
diff options
context:
space:
mode:
authorStephen Boyd <swboyd@chromium.org>2020-01-22 01:40:32 +0100
committerEnric Balletbo i Serra <enric.balletbo@collabora.com>2020-01-22 10:10:44 +0100
commita532149c992eed9f8523d4ed5960b0068f213cd7 (patch)
treec1fc46385b07177105848b09390831c62d6fe3c7 /drivers/platform/chrome/wilco_ec/mailbox.c
parentMerge branch 'chrome-platform-5.5-fixes' into for-kernelci (diff)
downloadlinux-a532149c992eed9f8523d4ed5960b0068f213cd7.tar.xz
linux-a532149c992eed9f8523d4ed5960b0068f213cd7.zip
platform/chrome: wilco_ec: Add newlines to printks
printk messages all require newlines, or it looks very odd in the log when messages are not on different lines. Add them. Cc: Nick Crews <ncrews@chromium.org> Cc: Daniel Campello <campello@chromium.org> Cc: Enric Balletbo i Serra <enric.balletbo@collabora.com> Signed-off-by: Stephen Boyd <swboyd@chromium.org> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Diffstat (limited to 'drivers/platform/chrome/wilco_ec/mailbox.c')
-rw-r--r--drivers/platform/chrome/wilco_ec/mailbox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/platform/chrome/wilco_ec/mailbox.c b/drivers/platform/chrome/wilco_ec/mailbox.c
index ced1f9f3dcee..0f98358ea824 100644
--- a/drivers/platform/chrome/wilco_ec/mailbox.c
+++ b/drivers/platform/chrome/wilco_ec/mailbox.c
@@ -163,13 +163,13 @@ static int wilco_ec_transfer(struct wilco_ec_device *ec,
}
if (rs->data_size != EC_MAILBOX_DATA_SIZE) {
- dev_dbg(ec->dev, "unexpected packet size (%u != %u)",
+ dev_dbg(ec->dev, "unexpected packet size (%u != %u)\n",
rs->data_size, EC_MAILBOX_DATA_SIZE);
return -EMSGSIZE;
}
if (rs->data_size < msg->response_size) {
- dev_dbg(ec->dev, "EC didn't return enough data (%u < %zu)",
+ dev_dbg(ec->dev, "EC didn't return enough data (%u < %zu)\n",
rs->data_size, msg->response_size);
return -EMSGSIZE;
}