accel/amdxdna: fix missing newline in pr_err message
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
@@ -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
Lizhi Hou
maintainerQuoted 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_errmessage inamdxdna_mailbox.c.Signed-off-by haoyu.lu <[email protected]>
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@@ -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
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.
---
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
@@ -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
Thanks, applied to drm-misc-next.
Quoted 29 lines · Haoyu Lu
From: "haoyu.lu" <[email protected]>
Add missing newline to
pr_errmessage inamdxdna_mailbox.c.Fixes b87f920b9344 ("accel/amdxdna: Support hardware mailbox")Signed-off-by haoyu.lu <[email protected]>---
Changes in v2:
- Added Fixes tag as requesteddrivers/accel/amdxdna/amdxdna_mailbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/accel/amdxdna/amdxdna_mailbox.c +1
-2@@ -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