summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-09-25 12:36:13 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2017-10-12 16:54:52 +0200
commite02b8b43f55a17826b5c0cdd23c82c3fcde08e4b (patch)
tree3e5913c388ba57aa36237538205a0986a2704978
parentcrypto: omap-aes - pr_err() strings should end with newlines (diff)
downloadlinux-e02b8b43f55a17826b5c0cdd23c82c3fcde08e4b.tar.xz
linux-e02b8b43f55a17826b5c0cdd23c82c3fcde08e4b.zip
crypto: virtio - pr_err() strings should end with newlines
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>
-rw-r--r--drivers/crypto/virtio/virtio_crypto_algs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/virtio/virtio_crypto_algs.c b/drivers/crypto/virtio/virtio_crypto_algs.c
index 5035b0dc1e40..abe8c15450df 100644
--- a/drivers/crypto/virtio/virtio_crypto_algs.c
+++ b/drivers/crypto/virtio/virtio_crypto_algs.c
@@ -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;
}