diff mbox series

remoteproc: Add missing '\n' in log messages

Message ID 20200411160750.32573-1-christophe.jaillet@wanadoo.fr (mailing list archive)
State Mainlined
Commit 2fb75ceaf71a4a198fc67b984aa95527c993fa1a
Headers show
Series remoteproc: Add missing '\n' in log messages | expand

Commit Message

Christophe JAILLET April 11, 2020, 4:07 p.m. UTC
Message logged by 'dev_xxx()' or 'pr_xxx()' should end with a '\n'.

Fixes: 791c13b709dd ("remoteproc: Fix NULL pointer dereference in rproc_virtio_notify")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
 drivers/remoteproc/remoteproc_virtio.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

patchwork-bot+linux-remoteproc@kernel.org April 23, 2020, 6:40 a.m. UTC | #1
Hello:

This patch was applied to andersson/remoteproc.git (refs/heads/for-next).

On Sat, 11 Apr 2020 18:07:50 +0200 you wrote:
> Message logged by 'dev_xxx()' or 'pr_xxx()' should end with a '\n'.
> 
> Fixes: 791c13b709dd ("remoteproc: Fix NULL pointer dereference in rproc_virtio_notify")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
> ---
>  drivers/remoteproc/remoteproc_virtio.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)


Here is a summary with links:
  - remoteproc: Add missing '\n' in log messages
    https://git.kernel.org/andersson/remoteproc/c/2fb75ceaf71a4a198fc67b984aa95527c993fa1a

You are awesome, thank you!
diff mbox series

Patch

diff --git a/drivers/remoteproc/remoteproc_virtio.c b/drivers/remoteproc/remoteproc_virtio.c
index b48b78e00284..0d4cc0fc5858 100644
--- a/drivers/remoteproc/remoteproc_virtio.c
+++ b/drivers/remoteproc/remoteproc_virtio.c
@@ -337,8 +337,7 @@  int rproc_add_virtio_dev(struct rproc_vdev *rvdev, int id)
 
 	if (rproc->ops->kick == NULL) {
 		ret = -EINVAL;
-		dev_err(dev, ".kick method not defined for %s",
-				rproc->name);
+		dev_err(dev, ".kick method not defined for %s\n", rproc->name);
 		goto out;
 	}