diff options
author | Eric Dumazet <edumazet@google.com> | 2017-01-12 05:10:37 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-12 23:57:10 +0300 |
commit | c1ce1560a1ae1a58505c26bc0e46ce1aee982d54 (patch) | |
tree | 920361b81c67c89bad538dd8f030d89ded1578aa /include/linux/mroute.h | |
parent | a8ac1a55d0859cf8f53db3275ad4a6480868e80c (diff) | |
download | linux-c1ce1560a1ae1a58505c26bc0e46ce1aee982d54.tar.xz |
secure_seq: fix sparse errors
Fixes following warnings :
net/core/secure_seq.c:125:28: warning: incorrect type in argument 1
(different base types)
net/core/secure_seq.c:125:28: expected unsigned int const [unsigned]
[usertype] a
net/core/secure_seq.c:125:28: got restricted __be32 [usertype] saddr
net/core/secure_seq.c:125:35: warning: incorrect type in argument 2
(different base types)
net/core/secure_seq.c:125:35: expected unsigned int const [unsigned]
[usertype] b
net/core/secure_seq.c:125:35: got restricted __be32 [usertype] daddr
net/core/secure_seq.c:125:43: warning: cast from restricted __be16
net/core/secure_seq.c:125:61: warning: restricted __be16 degrades to
integer
Fixes: 7cd23e5300c1 ("secure_seq: use SipHash in place of MD5")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mroute.h')
0 files changed, 0 insertions, 0 deletions