From: Rehas Sachdeva Date: Thu, 15 Sep 2016 12:52:10 +0000 (+0530) Subject: staging: lustre: Change 'seq_printf' to 'seq_puts' X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=02c041c157a397e40f44345d689fbd13c3585262;p=linux-beck.git staging: lustre: Change 'seq_printf' to 'seq_puts' Fixes checkpatch.pl warning: Prefer seq_puts to seq_printf. This can be done as both have same type of first two arguments in their function definition. Signed-off-by: Rehas Sachdeva Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/llite/lproc_llite.c b/drivers/staging/lustre/lustre/llite/lproc_llite.c index 4e82db873d86..af233eac1a60 100644 --- a/drivers/staging/lustre/lustre/llite/lproc_llite.c +++ b/drivers/staging/lustre/lustre/llite/lproc_llite.c @@ -774,7 +774,7 @@ static int ll_sbi_flags_seq_show(struct seq_file *m, void *v) flags >>= 1; ++i; } - seq_printf(m, "\b\n"); + seq_puts(m, "\b\n"); return 0; }