From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx> Date: Tue, 2 May 2017 15:20:30 +0200 A string which did not contain a data format specification should be put into a sequence. Thus use the corresponding function "seq_puts". This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx> --- drivers/md/faulty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/md/faulty.c b/drivers/md/faulty.c index b0536cfd8e17..f5536c91be5c 100644 --- a/drivers/md/faulty.c +++ b/drivers/md/faulty.c @@ -253,7 +253,7 @@ static void faulty_status(struct seq_file *seq, struct mddev *mddev) n, conf->period[ReadFixable]); if ((n=atomic_read(&conf->counters[WriteAll])) != 0) - seq_printf(seq, " WriteAll"); + seq_puts(seq, " WriteAll"); seq_printf(seq, " nfaults=%d", conf->nfaults); } -- 2.12.2 -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html