aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/proc.c
diff options
context:
space:
mode:
authorWeilong Chen <chenweilong@huawei.com>2013-12-31 02:11:27 -0500
committerDavid S. Miller <davem@davemloft.net>2014-01-02 03:30:36 -0500
commit442c67f8448321c1919ddb33524cc4ecaa9a94f3 (patch)
treea13682bc147b6eb51adfbb5f1b9640a6dfcf8647 /net/ipv4/proc.c
parent96bfc80d83d4b109bd5c5af6bc323424e920c84d (diff)
ipv4: spaces required around that '='
Signed-off-by: Weilong Chen <chenweilong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/proc.c')
-rw-r--r--net/ipv4/proc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/ipv4/proc.c b/net/ipv4/proc.c
index 8ecd7ad959b4..a6c8a80ec9d6 100644
--- a/net/ipv4/proc.c
+++ b/net/ipv4/proc.c
@@ -333,22 +333,22 @@ static void icmp_put(struct seq_file *seq)
333 atomic_long_t *ptr = net->mib.icmpmsg_statistics->mibs; 333 atomic_long_t *ptr = net->mib.icmpmsg_statistics->mibs;
334 334
335 seq_puts(seq, "\nIcmp: InMsgs InErrors InCsumErrors"); 335 seq_puts(seq, "\nIcmp: InMsgs InErrors InCsumErrors");
336 for (i=0; icmpmibmap[i].name != NULL; i++) 336 for (i = 0; icmpmibmap[i].name != NULL; i++)
337 seq_printf(seq, " In%s", icmpmibmap[i].name); 337 seq_printf(seq, " In%s", icmpmibmap[i].name);
338 seq_printf(seq, " OutMsgs OutErrors"); 338 seq_printf(seq, " OutMsgs OutErrors");
339 for (i=0; icmpmibmap[i].name != NULL; i++) 339 for (i = 0; icmpmibmap[i].name != NULL; i++)
340 seq_printf(seq, " Out%s", icmpmibmap[i].name); 340 seq_printf(seq, " Out%s", icmpmibmap[i].name);
341 seq_printf(seq, "\nIcmp: %lu %lu %lu", 341 seq_printf(seq, "\nIcmp: %lu %lu %lu",
342 snmp_fold_field((void __percpu **) net->mib.icmp_statistics, ICMP_MIB_INMSGS), 342 snmp_fold_field((void __percpu **) net->mib.icmp_statistics, ICMP_MIB_INMSGS),
343 snmp_fold_field((void __percpu **) net->mib.icmp_statistics, ICMP_MIB_INERRORS), 343 snmp_fold_field((void __percpu **) net->mib.icmp_statistics, ICMP_MIB_INERRORS),
344 snmp_fold_field((void __percpu **) net->mib.icmp_statistics, ICMP_MIB_CSUMERRORS)); 344 snmp_fold_field((void __percpu **) net->mib.icmp_statistics, ICMP_MIB_CSUMERRORS));
345 for (i=0; icmpmibmap[i].name != NULL; i++) 345 for (i = 0; icmpmibmap[i].name != NULL; i++)
346 seq_printf(seq, " %lu", 346 seq_printf(seq, " %lu",
347 atomic_long_read(ptr + icmpmibmap[i].index)); 347 atomic_long_read(ptr + icmpmibmap[i].index));
348 seq_printf(seq, " %lu %lu", 348 seq_printf(seq, " %lu %lu",
349 snmp_fold_field((void __percpu **) net->mib.icmp_statistics, ICMP_MIB_OUTMSGS), 349 snmp_fold_field((void __percpu **) net->mib.icmp_statistics, ICMP_MIB_OUTMSGS),
350 snmp_fold_field((void __percpu **) net->mib.icmp_statistics, ICMP_MIB_OUTERRORS)); 350 snmp_fold_field((void __percpu **) net->mib.icmp_statistics, ICMP_MIB_OUTERRORS));
351 for (i=0; icmpmibmap[i].name != NULL; i++) 351 for (i = 0; icmpmibmap[i].name != NULL; i++)
352 seq_printf(seq, " %lu", 352 seq_printf(seq, " %lu",
353 atomic_long_read(ptr + (icmpmibmap[i].index | 0x100))); 353 atomic_long_read(ptr + (icmpmibmap[i].index | 0x100)));
354} 354}