remoteproc: Add missing '\n' in log messages
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 11 Apr 2020 16:07:50 +0000 (18:07 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 23 Apr 2020 05:20:40 +0000 (22:20 -0700)
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>
Link: https://lore.kernel.org/r/20200411160750.32573-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/remoteproc_virtio.c

index e61d738d9b47e0415144342ffaed9990fe5f2180..15ec5fc652576e02093bc1bd2314acc7918eb703 100644 (file)
@@ -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;
        }