Re: [PATCH] lib/test_printf.c: space required after that ','

From: Andy Shevchenko
Date: Wed Jun 14 2023 - 08:33:09 EST


On Wed, Jun 14, 2023 at 04:30:55PM +0800, hexingwei001@xxxxxxxxxx wrote:
> Add missing spaces to clear checkpatch errors:
>
> lib/test_printf.c:562: ERROR: space required after that ',' (ctx:VxV).
> lib/test_printf.c:562: ERROR: space required after that ',' (ctx:VxV).
> lib/test_printf.c:562: ERROR: space required after that ',' (ctx:VxV).
> lib/test_printf.c:562: ERROR: space required after that ',' (ctx:VxV).
> lib/test_printf.c:562: ERROR: space required after that ',' (ctx:VxV).
> lib/test_printf.c:562: ERROR: space required after that ',' (ctx:VxV).

Doesn't make any difference to the code, so let do this (unneeded) churn
to calm checkpatch down.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>


> Signed-off-by: Xingwei He <hexingwei001@xxxxxxxxxx>
> ---
> lib/test_printf.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/test_printf.c b/lib/test_printf.c
> index 7677ebccf3c3..9d17c564fdf6 100644
> --- a/lib/test_printf.c
> +++ b/lib/test_printf.c
> @@ -559,7 +559,7 @@ static void __init
> bitmap(void)
> {
> DECLARE_BITMAP(bits, 20);
> - const int primes[] = {2,3,5,7,11,13,17,19};
> + const int primes[] = {2, 3, 5, 7, 11, 13, 17, 19};
> int i;
>
> bitmap_zero(bits, 20);

--
With Best Regards,
Andy Shevchenko