Skip to contentSkip to conversation

i3c: fix missing newline in dev_err messages

PATCH Applied Haoyu Lu 4 participants 4 messages Mar 17 – Mar 18

Subsystems (3)
lore
Share & tools
lore

Haoyu Lu

author
#0 lore raw

PATCH 1/1 i3c: fix missing newline in dev_err messages

From: "haoyu.lu" <[email protected]>

Add missing newline to dev_err messages in:
- drivers/i3c/master.c
- drivers/i3c/master/svc-i3c-master.c

---
 drivers/i3c/master.c                | 2 +-
 drivers/i3c/master/svc-i3c-master.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/i3c/master.c +1 -1
index 9e6be49bebb2..27e93fcf2eba 100644
@@ -2396,7 +2396,7 @@ of_i3c_master_add_i2c_boardinfo(struct i3c_master_controller *master,
 	 * DEFSLVS command.
 	 */
 	if (boardinfo->base.flags & I2C_CLIENT_TEN) {
-		dev_err(dev, "I2C device with 10 bit address not supported.");
+		dev_err(dev, "I2C device with 10 bit address not supported.\n");
 		return -EOPNOTSUPP;
 	}
 
drivers/i3c/master/svc-i3c-master.c +1 -1
index b84b324e4111..e09a6218bf34 100644
@@ -1268,7 +1268,7 @@ static int svc_i3c_master_do_daa(struct i3c_master_controller *m)
 	/* Configure IBI auto-rules */
 	ret = svc_i3c_update_ibirules(master);
 	if (ret)
-		dev_err(master->dev, "Cannot handle such a list of devices");
+		dev_err(master->dev, "Cannot handle such a list of devices\n");
 
 rpm_out:
 	pm_runtime_put_autosuspend(master->dev);
Signature · 1 line
2.53.0.windows.1
maintainer Reviewed-by on v1 1/1
#2 lore raw
In reply to Haoyu Lu
Quoted 8 lines · Haoyu Lu

From: "haoyu.lu" <[email protected]>

Add missing newline to dev_err messages in:
- drivers/i3c/master.c
- drivers/i3c/master/svc-i3c-master.c

---

Quoted 33 lines
 drivers/i3c/master.c                | 2 +-
 drivers/i3c/master/svc-i3c-master.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/i3c/master.c +1 -1
index 9e6be49bebb2..27e93fcf2eba 100644
@@ -2396,7 +2396,7 @@ of_i3c_master_add_i2c_boardinfo(struct i3c_master_controller *master,
 	 * DEFSLVS command.
 	 */
 	if (boardinfo->base.flags & I2C_CLIENT_TEN) {
-		dev_err(dev, "I2C device with 10 bit address not supported.");
+		dev_err(dev, "I2C device with 10 bit address not supported.\n");
 		return -EOPNOTSUPP;
 	}
 
drivers/i3c/master/svc-i3c-master.c +1 -2
index b84b324e4111..e09a6218bf34 100644
@@ -1268,7 +1268,7 @@ static int svc_i3c_master_do_daa(struct i3c_master_controller *m)
 	/* Configure IBI auto-rules */
 	ret = svc_i3c_update_ibirules(master);
 	if (ret)
-		dev_err(master->dev, "Cannot handle such a list of devices");
+		dev_err(master->dev, "Cannot handle such a list of devices\n");
 
 rpm_out:
 	pm_runtime_put_autosuspend(master->dev);
--

2.53.0.windows.1

maintainer Applied
#3 lore raw
In reply to Haoyu Lu
Quoted 3 lines · Haoyu Lu

Add missing newline to dev_err messages in:
- drivers/i3c/master.c
- drivers/i3c/master/svc-i3c-master.c

Applied, thanks!

[1/1] i3c: fix missing newline in dev_err messages

      https://git.kernel.org/i3c/c/7ea9bfee2ee0

Best regards,

Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com