OSDN Git Service

crypto: virtio - pr_err() strings should end with newlines
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Mon, 25 Sep 2017 10:36:13 +0000 (16:06 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 12 Oct 2017 14:54:52 +0000 (22:54 +0800)
pr_err() messages should terminated with a new-line to avoid
other messages being concatenated onto the end.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/virtio/virtio_crypto_algs.c

index 5035b0d..abe8c15 100644 (file)
@@ -319,7 +319,7 @@ static int virtio_crypto_ablkcipher_setkey(struct crypto_ablkcipher *tfm,
                struct virtio_crypto *vcrypto =
                                      virtcrypto_get_dev_node(node);
                if (!vcrypto) {
-                       pr_err("virtio_crypto: Could not find a virtio device in the system");
+                       pr_err("virtio_crypto: Could not find a virtio device in the system\n");
                        return -ENODEV;
                }