From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Markus Elfring <Markus.Elfring@web.de>
Cc: linux-block@vger.kernel.org, Jens Axboe <axboe@kernel.dk>,
Josh Law <objecting@objecting.org>, Kees Cook <kees@kernel.org>,
Woradorn Laodhanadhaworn <woradorn.laon@gmail.com>,
LKML <linux-kernel@vger.kernel.org>,
kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] block: partitions: Use seq_buf_putc() in cmdline_partition()
Date: Thu, 25 Jun 2026 17:27:34 +0300 [thread overview]
Message-ID: <aj061omzs5WN5ar6@ashevche-desk.local> (raw)
In-Reply-To: <7de415a7-457d-4dd2-aebb-8e179fa0bbcd@web.de>
On Thu, Jun 25, 2026 at 02:18:49PM +0200, Markus Elfring wrote:
...
> >> cmdline_parts_set(parts, disk_size, state);
> >> cmdline_parts_verifier(1, state);
> >
> >> -
> >> - seq_buf_puts(&state->pp_buf, "\n");
> >> -
> >> + seq_buf_putc(&state->pp_buf, '\n');
> >
> > Why did you remove blank lines?
> >
> >> return 1;
> I imagine that this source code place can become a bit more succinct.
>
> See also:
> efi_partition()
> https://elixir.bootlin.com/linux/v7.1.1/source/block/partitions/efi.c#L694-L756
>
> Do you insist to preserve two blank lines here?
Yes.
--
With Best Regards,
Andy Shevchenko
next prev parent reply other threads:[~2026-06-25 14:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-25 8:08 [PATCH] block: partitions: Use seq_buf_putc() in cmdline_partition() Markus Elfring
2026-06-25 8:18 ` Andy Shevchenko
2026-06-25 12:18 ` Markus Elfring
2026-06-25 14:27 ` Andy Shevchenko [this message]
2026-06-26 16:48 ` Markus Elfring
2026-06-27 5:30 ` Christophe JAILLET
2026-06-27 7:28 ` Markus Elfring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aj061omzs5WN5ar6@ashevche-desk.local \
--to=andriy.shevchenko@linux.intel.com \
--cc=Markus.Elfring@web.de \
--cc=axboe@kernel.dk \
--cc=kees@kernel.org \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=objecting@objecting.org \
--cc=woradorn.laon@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox