From: Michal Suchanek <msuchanek@suse.de>
To: u-boot@lists.denx.de
Cc: Michal Suchanek <msuchanek@suse.de>,
Jaehoon Chung <jh80.chung@samsung.com>
Subject: [PATCH] power: fan53555: Fix missing newline in error message
Date: Sun, 25 Sep 2022 15:43:27 +0200 [thread overview]
Message-ID: <20220925134328.9405-1-msuchanek@suse.de> (raw)
Avoid concatenation with following message.
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
---
drivers/power/pmic/fan53555.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/power/pmic/fan53555.c b/drivers/power/pmic/fan53555.c
index 4d1e686d27..0d91628f57 100644
--- a/drivers/power/pmic/fan53555.c
+++ b/drivers/power/pmic/fan53555.c
@@ -23,7 +23,7 @@ static int pmic_fan53555_read(struct udevice *dev, uint reg,
u8 *buff, int len)
{
if (dm_i2c_read(dev, reg, buff, len)) {
- pr_err("%s: read error for register: %#x!", dev->name, reg);
+ pr_err("%s: read error for register: %#x!\n", dev->name, reg);
return -EIO;
}
--
2.37.3
next reply other threads:[~2022-09-25 13:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-25 13:43 Michal Suchanek [this message]
2022-09-26 8:33 ` [PATCH] power: fan53555: Fix missing newline in error message Peng Fan
2022-10-07 12:38 ` Jaehoon Chung
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220925134328.9405-1-msuchanek@suse.de \
--to=msuchanek@suse.de \
--cc=jh80.chung@samsung.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).