summaryrefslogtreecommitdiff
path: root/drivers/hsi
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-09-26 11:46:14 +0530
committerSebastian Reichel <sre@kernel.org>2017-10-01 17:19:53 +0200
commit36edec05a27d6c07ca8d38a01e98b0d71408ab9d (patch)
tree0248254ad44e49d01df8db746510f2ce7c32d926 /drivers/hsi
parent3210b4fca695ed0ecba28ba9b00ce3dca7d62b1a (diff)
downloadlwn-36edec05a27d6c07ca8d38a01e98b0d71408ab9d.tar.gz
lwn-36edec05a27d6c07ca8d38a01e98b0d71408ab9d.zip
HSI: hsi_char: pr_err() strings should end with newlines
pr_err() messages should end with a new-line to avoid other messages being concatenated. Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/hsi')
-rw-r--r--drivers/hsi/clients/hsi_char.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hsi/clients/hsi_char.c b/drivers/hsi/clients/hsi_char.c
index 57f70c28fa38..cf9c2a332ad8 100644
--- a/drivers/hsi/clients/hsi_char.c
+++ b/drivers/hsi/clients/hsi_char.c
@@ -773,13 +773,13 @@ static int __init hsc_init(void)
if ((max_data_size < 4) || (max_data_size > 0x10000) ||
(max_data_size & (max_data_size - 1))) {
- pr_err("Invalid max read/write data size");
+ pr_err("Invalid max read/write data size\n");
return -EINVAL;
}
ret = hsi_register_client_driver(&hsc_driver);
if (ret) {
- pr_err("Error while registering HSI/SSI driver %d", ret);
+ pr_err("Error while registering HSI/SSI driver %d\n", ret);
return ret;
}