aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/inetpeer.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2012-01-16 14:27:39 -0500
committerDavid S. Miller <davem@davemloft.net>2012-01-17 10:31:12 -0500
commit747465ef7a082033e086dedc8189febfda43b015 (patch)
treeefbdc7a1f25f7bced035077769b4005ea1419abc /net/ipv4/inetpeer.c
parent2b2d465631db59c144f537a9bef47a883c55d670 (diff)
net: fix some sparse errors
make C=2 CF="-D__CHECK_ENDIAN__" M=net And fix flowi4_init_output() prototype for sport Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/inetpeer.c')
-rw-r--r--net/ipv4/inetpeer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/inetpeer.c b/net/ipv4/inetpeer.c
index 86f13c67ea85..986a02bda660 100644
--- a/net/ipv4/inetpeer.c
+++ b/net/ipv4/inetpeer.c
@@ -136,7 +136,7 @@ static int addr_compare(const struct inetpeer_addr *a,
136 for (i = 0; i < n; i++) { 136 for (i = 0; i < n; i++) {
137 if (a->addr.a6[i] == b->addr.a6[i]) 137 if (a->addr.a6[i] == b->addr.a6[i])
138 continue; 138 continue;
139 if (a->addr.a6[i] < b->addr.a6[i]) 139 if ((__force u32)a->addr.a6[i] < (__force u32)b->addr.a6[i])
140 return -1; 140 return -1;
141 return 1; 141 return 1;
142 } 142 }