diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2007-02-09 09:24:49 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-02-11 02:19:42 -0500 |
commit | 1ab1457c42bc078e5a9becd82a7f9f940b55c53a (patch) | |
tree | c25d27c58fb27f4c5930ad120995cc2e3f1e7a4f /net/ipv6/proc.c | |
parent | e905a9edab7f4f14f9213b52234e4a346c690911 (diff) |
[NET] IPV6: Fix whitespace errors.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/proc.c')
-rw-r--r-- | net/ipv6/proc.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/net/ipv6/proc.c b/net/ipv6/proc.c index 35249d8487bb..032ef95c5b00 100644 --- a/net/ipv6/proc.c +++ b/net/ipv6/proc.c | |||
@@ -50,7 +50,7 @@ static int sockstat6_seq_show(struct seq_file *seq, void *v) | |||
50 | seq_printf(seq, "UDP6: inuse %d\n", | 50 | seq_printf(seq, "UDP6: inuse %d\n", |
51 | fold_prot_inuse(&udpv6_prot)); | 51 | fold_prot_inuse(&udpv6_prot)); |
52 | seq_printf(seq, "UDPLITE6: inuse %d\n", | 52 | seq_printf(seq, "UDPLITE6: inuse %d\n", |
53 | fold_prot_inuse(&udplitev6_prot)); | 53 | fold_prot_inuse(&udplitev6_prot)); |
54 | seq_printf(seq, "RAW6: inuse %d\n", | 54 | seq_printf(seq, "RAW6: inuse %d\n", |
55 | fold_prot_inuse(&rawv6_prot)); | 55 | fold_prot_inuse(&rawv6_prot)); |
56 | seq_printf(seq, "FRAG6: inuse %d memory %d\n", | 56 | seq_printf(seq, "FRAG6: inuse %d memory %d\n", |
@@ -89,7 +89,7 @@ static struct snmp_mib snmp6_icmp6_list[] = { | |||
89 | /* icmpv6 mib according to RFC 2466 | 89 | /* icmpv6 mib according to RFC 2466 |
90 | 90 | ||
91 | Exceptions: {In|Out}AdminProhibs are removed, because I see | 91 | Exceptions: {In|Out}AdminProhibs are removed, because I see |
92 | no good reasons to account them separately | 92 | no good reasons to account them separately |
93 | of another dest.unreachs. | 93 | of another dest.unreachs. |
94 | OutErrs is zero identically. | 94 | OutErrs is zero identically. |
95 | OutEchos too. | 95 | OutEchos too. |
@@ -146,14 +146,14 @@ static struct snmp_mib snmp6_udplite6_list[] = { | |||
146 | static unsigned long | 146 | static unsigned long |
147 | fold_field(void *mib[], int offt) | 147 | fold_field(void *mib[], int offt) |
148 | { | 148 | { |
149 | unsigned long res = 0; | 149 | unsigned long res = 0; |
150 | int i; | 150 | int i; |
151 | 151 | ||
152 | for_each_possible_cpu(i) { | 152 | for_each_possible_cpu(i) { |
153 | res += *(((unsigned long *)per_cpu_ptr(mib[0], i)) + offt); | 153 | res += *(((unsigned long *)per_cpu_ptr(mib[0], i)) + offt); |
154 | res += *(((unsigned long *)per_cpu_ptr(mib[1], i)) + offt); | 154 | res += *(((unsigned long *)per_cpu_ptr(mib[1], i)) + offt); |
155 | } | 155 | } |
156 | return res; | 156 | return res; |
157 | } | 157 | } |
158 | 158 | ||
159 | static inline void | 159 | static inline void |
@@ -161,7 +161,7 @@ snmp6_seq_show_item(struct seq_file *seq, void **mib, struct snmp_mib *itemlist) | |||
161 | { | 161 | { |
162 | int i; | 162 | int i; |
163 | for (i=0; itemlist[i].name; i++) | 163 | for (i=0; itemlist[i].name; i++) |
164 | seq_printf(seq, "%-32s\t%lu\n", itemlist[i].name, | 164 | seq_printf(seq, "%-32s\t%lu\n", itemlist[i].name, |
165 | fold_field(mib, itemlist[i].entry)); | 165 | fold_field(mib, itemlist[i].entry)); |
166 | } | 166 | } |
167 | 167 | ||