Re: [PATCH] md-multipath: Replace a seq_printf() call by seq_putc() in multipath_status()

From: Song Liu
Date: Wed Jul 03 2019 - 08:18:08 EST


On Mon, Jul 1, 2019 at 5:25 AM Markus Elfring <Markus.Elfring@xxxxxx> wrote:
>
> From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> Date: Mon, 1 Jul 2019 13:07:55 +0200
>
> A single character (depending on a condition check) should be put
> into a sequence. Thus use the corresponding function âseq_putcâ.
>
> This issue was detected by using the Coccinelle software.
>
> Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>

Can you explain why this is necessary?

Thanks,
Song