]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
sctp: replace seq_printf with seq_puts
authorMichele Baldessari <michele@acksyn.org>
Thu, 30 Oct 2014 09:29:16 +0000 (10:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Oct 2014 23:40:16 +0000 (19:40 -0400)
Fixes checkpatch warning:
"WARNING: Prefer seq_puts to seq_printf"

Signed-off-by: Michele Baldessari <michele@acksyn.org>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/proc.c

index bfb242af06abe4a98e7457ab3b83982509ac7ba6..0697eda5aed8f8c897973bd173ad40d061775030 100644 (file)
@@ -490,14 +490,14 @@ static int sctp_remaddr_seq_show(struct seq_file *seq, void *v)
                         * Note: We don't have a way to tally this at the moment
                         * so lets just leave it as zero for the moment
                         */
-                       seq_printf(seq, "0 ");
+                       seq_puts(seq, "0 ");
 
                        /*
                         * remote address start time (START).  This is also not
                         * currently implemented, but we can record it with a
                         * jiffies marker in a subsequent patch
                         */
-                       seq_printf(seq, "0 ");
+                       seq_puts(seq, "0 ");
 
                        /*
                         * The current state of this destination. I.e.