mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
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>
This commit is contained in:
parent
3210b4fca6
commit
36edec05a2
@ -773,13 +773,13 @@ static int __init hsc_init(void)
|
|||||||
|
|
||||||
if ((max_data_size < 4) || (max_data_size > 0x10000) ||
|
if ((max_data_size < 4) || (max_data_size > 0x10000) ||
|
||||||
(max_data_size & (max_data_size - 1))) {
|
(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;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = hsi_register_client_driver(&hsc_driver);
|
ret = hsi_register_client_driver(&hsc_driver);
|
||||||
if (ret) {
|
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;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user