diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-09-26 02:16:14 -0400 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2017-10-01 11:19:53 -0400 |
commit | 36edec05a27d6c07ca8d38a01e98b0d71408ab9d (patch) | |
tree | 0248254ad44e49d01df8db746510f2ce7c32d926 | |
parent | 3210b4fca695ed0ecba28ba9b00ce3dca7d62b1a (diff) |
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>
-rw-r--r-- | drivers/hsi/clients/hsi_char.c | 4 |
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) | |||
773 | 773 | ||
774 | if ((max_data_size < 4) || (max_data_size > 0x10000) || | 774 | if ((max_data_size < 4) || (max_data_size > 0x10000) || |
775 | (max_data_size & (max_data_size - 1))) { | 775 | (max_data_size & (max_data_size - 1))) { |
776 | pr_err("Invalid max read/write data size"); | 776 | pr_err("Invalid max read/write data size\n"); |
777 | return -EINVAL; | 777 | return -EINVAL; |
778 | } | 778 | } |
779 | 779 | ||
780 | ret = hsi_register_client_driver(&hsc_driver); | 780 | ret = hsi_register_client_driver(&hsc_driver); |
781 | if (ret) { | 781 | if (ret) { |
782 | pr_err("Error while registering HSI/SSI driver %d", ret); | 782 | pr_err("Error while registering HSI/SSI driver %d\n", ret); |
783 | return ret; | 783 | return ret; |
784 | } | 784 | } |
785 | 785 | ||