Skip to content

Commit afb6bef

Browse files
mbaldessaridavem330
authored andcommitted
sctp: replace seq_printf with seq_puts
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>
1 parent 891310d commit afb6bef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

net/sctp/proc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -490,14 +490,14 @@ static int sctp_remaddr_seq_show(struct seq_file *seq, void *v)
490490
* Note: We don't have a way to tally this at the moment
491491
* so lets just leave it as zero for the moment
492492
*/
493-
seq_printf(seq, "0 ");
493+
seq_puts(seq, "0 ");
494494

495495
/*
496496
* remote address start time (START). This is also not
497497
* currently implemented, but we can record it with a
498498
* jiffies marker in a subsequent patch
499499
*/
500-
seq_printf(seq, "0 ");
500+
seq_puts(seq, "0 ");
501501

502502
/*
503503
* The current state of this destination. I.e.

0 commit comments

Comments
 (0)