[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e614e753-5eec-225e-7437-f2ad650585ba@kernel.org>
Date: Wed, 6 Oct 2021 07:52:03 +0200
From: Jiri Slaby <jirislaby@...nel.org>
To: Dan Carpenter <dan.carpenter@...cle.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Zhenguo Zhao <Zhenguo.Zhao1@...soc.com>
Cc: linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] tty: n_gsm: clean up indenting in gsm_queue()
On 04. 10. 21, 12:43, Dan Carpenter wrote:
> These two lines need to be indented one more tab.
Right, the indentation is incorrect (and not the closing brace).
Reviewed-by: Jiri Slaby <jirislaby@...nel.org>
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
> ---
> drivers/tty/n_gsm.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/tty/n_gsm.c b/drivers/tty/n_gsm.c
> index 157b51ce9cc0..3bbfcccd79d3 100644
> --- a/drivers/tty/n_gsm.c
> +++ b/drivers/tty/n_gsm.c
> @@ -1854,8 +1854,8 @@ static void gsm_queue(struct gsm_mux *gsm)
> if (address_tmp == address) {
> for (k = j; k < addr_cnt; k++)
> addr_open[k] = addr_open[k+1];
> - addr_cnt--;
> - break;
> + addr_cnt--;
> + break;
> }
> }
> }
>
--
js
suse labs
Powered by blists - more mailing lists