projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: fix some sparse errors
[linux-2.6-microblaze.git]
/
net
/
ipv4
/
inetpeer.c
diff --git
a/net/ipv4/inetpeer.c
b/net/ipv4/inetpeer.c
index
86f13c6
..
986a02b
100644
(file)
--- a/
net/ipv4/inetpeer.c
+++ b/
net/ipv4/inetpeer.c
@@
-136,7
+136,7
@@
static int addr_compare(const struct inetpeer_addr *a,
for (i = 0; i < n; i++) {
if (a->addr.a6[i] == b->addr.a6[i])
continue;
- if (
a->addr.a6[i] <
b->addr.a6[i])
+ if (
(__force u32)a->addr.a6[i] < (__force u32)
b->addr.a6[i])
return -1;
return 1;
}