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

Add missing newline to pr_err message in amdxdna_mailbox.c.

Signed-off-by: haoyu.lu <[email protected]>
---
 drivers/accel/amdxdna/amdxdna_mailbox.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/accel/amdxdna/amdxdna_mailbox.c 
b/drivers/accel/amdxdna/amdxdna_mailbox.c
index 46d844a73a94..e681a090752d 100644
--- a/drivers/accel/amdxdna/amdxdna_mailbox.c
+++ b/drivers/accel/amdxdna/amdxdna_mailbox.c
@@ -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

Reply via email to