Re: [PATCH] cgroup: Use seq_putc() in three functions

From: Michal Koutný
Date: Tue Jul 23 2024 - 05:11:51 EST


Hello.

On Sun, Jul 14, 2024 at 11:33:18AM GMT, Markus Elfring <Markus.Elfring@xxxxxx> wrote:
> Single characters should be put into a sequence.
> Thus use the corresponding function “seq_putc”.

seq_puts() handles internally the single char strings already and
calling one function uniformly seems less error prone in general. I see
only marginal benefit of the change in this context .

> This issue was transformed by using the Coccinelle software.

Maybe that would better fit under scripts/coccinelle/misc for optional
checking.

Thanks,
Michal

Attachment: signature.asc
Description: PGP signature