Re: [PATCH v2] block: partitions: Use seq_buf_putc() at 24 places

From: Andy Shevchenko

Date: Mon Jun 29 2026 - 03:55:10 EST


On Mon, Jun 29, 2026 at 09:16:09AM +0200, Markus Elfring wrote:
> From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> Date: Mon, 29 Jun 2026 08:10:24 +0200
>
> Single line breaks should occasionally be put into a sequence buffer.
> Thus use the seq_buf_putc() function in these implementations.
>
> The source code was transformed by using the Coccinelle software.
>
> Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> ---
>
> v2:
> * Andy Shevchenko requested to preserve two blank lines.

This comment in the context of the given commit message may be odd.
The blank lines mentioned were in the code that previous coccinelle
script removed, id est the code

...blank line...
seq_buf_puts()
...blank line...

the script transformed to a single line

seq_buf_putc()

So my request is to keep the original blank line(s) as is.

> * The source code transformation was extended to all affected places
> for this software area.

--
With Best Regards,
Andy Shevchenko