Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1742841 > unrolled thread
| Started by | Sebastian Reichel <sre@kernel.org> |
|---|---|
| First post | 2017-10-01 17:20 +0200 |
| Last post | 2017-10-01 17:20 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH] HSI: hsi_char: pr_err() strings should end with newlines Sebastian Reichel <sre@kernel.org> - 2017-10-01 17:20 +0200
| From | Sebastian Reichel <sre@kernel.org> |
|---|---|
| Date | 2017-10-01 17:20 +0200 |
| Subject | Re: [PATCH] HSI: hsi_char: pr_err() strings should end with newlines |
| Message-ID | <uvOca-3Ly-15@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
Hi,
On Tue, Sep 26, 2017 at 11:46:14AM +0530, Arvind Yadav wrote:
> 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>
Thanks, queued.
-- Sebastian
> ---
> drivers/hsi/clients/hsi_char.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/hsi/clients/hsi_char.c b/drivers/hsi/clients/hsi_char.c
> index 57f70c2..cf9c2a3 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;
> }
>
> --
> 1.9.1
>
Back to top | Article view | linux.kernel
csiph-web