diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2012-01-16 14:27:39 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-17 10:31:12 -0500 |
commit | 747465ef7a082033e086dedc8189febfda43b015 (patch) | |
tree | efbdc7a1f25f7bced035077769b4005ea1419abc /include/net | |
parent | 2b2d465631db59c144f537a9bef47a883c55d670 (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 'include/net')
-rw-r--r-- | include/net/flow.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/flow.h b/include/net/flow.h index da1f064a81b3..9b582437fbea 100644 --- a/include/net/flow.h +++ b/include/net/flow.h | |||
@@ -78,7 +78,7 @@ static inline void flowi4_init_output(struct flowi4 *fl4, int oif, | |||
78 | __u32 mark, __u8 tos, __u8 scope, | 78 | __u32 mark, __u8 tos, __u8 scope, |
79 | __u8 proto, __u8 flags, | 79 | __u8 proto, __u8 flags, |
80 | __be32 daddr, __be32 saddr, | 80 | __be32 daddr, __be32 saddr, |
81 | __be16 dport, __be32 sport) | 81 | __be16 dport, __be16 sport) |
82 | { | 82 | { |
83 | fl4->flowi4_oif = oif; | 83 | fl4->flowi4_oif = oif; |
84 | fl4->flowi4_iif = 0; | 84 | fl4->flowi4_iif = 0; |