Re: [PATCH] MIPS: kernel: proc: Use str_yes_no() helper function

From: Maciej W. Rozycki
Date: Mon Nov 04 2024 - 18:51:16 EST


On Tue, 5 Nov 2024, Thorsten Blum wrote:

> > I like this cleanup, but now that it matters I suggest restructuring code
> > such that the latter `seq_printf' is converted as well.
>
> What about the comma and newline? Using str_yes_no() would remove them.

This is why a minor code restructuring is needed so that the comma and
the new line are produced elsewhere (arguably a cleaner structure anyway).

Maciej