Skip to contentSkip to conversation

accel/amdxdna: fix missing newline in pr_err message

PATCH Superseded Haoyu Lu 2 participants 4 messages Mar 20 – Mar 23

Subsystems (2)
lore
Share & tools
lore

Haoyu Lu

author
#0 lore raw

PATCH 1/1 accel/amdxdna: fix missing newline in pr_err message

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

Add missing newline to pr_err message in amdxdna_mailbox.c.

---
 drivers/accel/amdxdna/amdxdna_mailbox.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/accel/amdxdna/amdxdna_mailbox.c +1 -1
index 46d844a73a94..e681a090752d 100644
@@ -499,7 +499,7 @@ xdna_mailbox_start_channel(struct mailbox_channel *mb_chann,
 	int ret;
 
 	if (!is_power_of_2(x2i->rb_size) || !is_power_of_2(i2x->rb_size)) {
-		pr_err("Ring buf size must be power of 2");
+		pr_err("Ring buf size must be power of 2\n");
 		return -EINVAL;
 	}
 
Signature · 1 line
2.53.0.windows.1
maintainer
#1 lore raw
Quoted 7 lines · Haoyu Lu

[You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

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

Add missing newline to pr_err message in amdxdna_mailbox.c.

Please add 'Fixes' tag.

Lizhi

Quoted 20 lines
---
  drivers/accel/amdxdna/amdxdna_mailbox.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/accel/amdxdna/amdxdna_mailbox.c +1 -2
index 46d844a73a94..e681a090752d 100644
@@ -499,7 +499,7 @@ xdna_mailbox_start_channel(struct mailbox_channel *mb_chann,
         int ret;
 
         if (!is_power_of_2(x2i->rb_size) || !is_power_of_2(i2x->rb_size)) {
-               pr_err("Ring buf size must be power of 2");
+               pr_err("Ring buf size must be power of 2\n");
                 return -EINVAL;
         }
 
--

2.53.0.windows.1

author
#2 lore raw

PATCH v2 1/1 accel/amdxdna: fix missing newline in pr_err message

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

Add missing newline to pr_err message in amdxdna_mailbox.c.

Fixes b87f920b9344 ("accel/amdxdna: Support hardware mailbox")

---
Changes in v2:
- Added Fixes tag as requested

 drivers/accel/amdxdna/amdxdna_mailbox.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/accel/amdxdna/amdxdna_mailbox.c +1 -1
index 46d844a73a94..e681a090752d 100644
@@ -499,7 +499,7 @@ xdna_mailbox_start_channel(struct mailbox_channel *mb_chann,
 	int ret;
 
 	if (!is_power_of_2(x2i->rb_size) || !is_power_of_2(i2x->rb_size)) {
-		pr_err("Ring buf size must be power of 2");
+		pr_err("Ring buf size must be power of 2\n");
 		return -EINVAL;
 	}
 
Signature · 1 line
2.53.0.windows.1
maintainer Applied
#3 lore raw

Thanks, applied to drm-misc-next.

Quoted 29 lines · Haoyu Lu

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

Add missing newline to pr_err message in amdxdna_mailbox.c.

Fixes b87f920b9344 ("accel/amdxdna: Support hardware mailbox")

---
Changes in v2:
- Added Fixes tag as requested

  drivers/accel/amdxdna/amdxdna_mailbox.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/accel/amdxdna/amdxdna_mailbox.c +1 -2
index 46d844a73a94..e681a090752d 100644
@@ -499,7 +499,7 @@ xdna_mailbox_start_channel(struct mailbox_channel *mb_chann,
         int ret;
 
         if (!is_power_of_2(x2i->rb_size) || !is_power_of_2(i2x->rb_size)) {
-               pr_err("Ring buf size must be power of 2");
+               pr_err("Ring buf size must be power of 2\n");
                 return -EINVAL;
         }
 
--

2.53.0.windows.1