[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMpxmJXHQPDBsuJ_tBhys0wtp1xcsi3irC7uexqW3iXxq=5JAA@mail.gmail.com>
Date: Tue, 17 Mar 2020 14:50:03 +0100
From: Bartosz Golaszewski <bgolaszewski@...libre.com>
To: Gabriel Ravier <gabravier@...il.com>
Cc: Linus Walleij <linus.walleij@...aro.org>,
linux-gpio <linux-gpio@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] gpio-hammer: Apply scripts/Lindent and retain good changes
pon., 16 mar 2020 o 20:50 Gabriel Ravier <gabravier@...il.com> napisaĆ(a):
>
> "retain good changes" means that I left the help string split up instead
> of having this weird thing where it tries to merge together the last three
> lines and it looks **really** bad
>
> Signed-off-by: Gabriel Ravier <gabravier@...il.com>
> ---
> tools/gpio/gpio-hammer.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/gpio/gpio-hammer.c b/tools/gpio/gpio-hammer.c
> index 0e0060a6eb34..51a65f8149ea 100644
> --- a/tools/gpio/gpio-hammer.c
> +++ b/tools/gpio/gpio-hammer.c
> @@ -77,7 +77,7 @@ int hammer_device(const char *device_name, unsigned int *lines, int nlines,
>
> fprintf(stdout, "[%c] ", swirr[j]);
> j++;
> - if (j == sizeof(swirr)-1)
> + if (j == sizeof(swirr) - 1)
> j = 0;
>
> fprintf(stdout, "[");
> --
> 2.24.1
>
Patch applied, thanks!
Bartosz
Powered by blists - more mailing lists