[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170112.155739.388347823509486932.davem@davemloft.net>
Date: Thu, 12 Jan 2017 15:57:39 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, Jason@...c4.com
Subject: Re: [PATCH net-next] secure_seq: fix sparse errors
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 11 Jan 2017 18:10:37 -0800
> From: Eric Dumazet <edumazet@...gle.com>
>
> 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@...gle.com>
Applied, thanks Eric.
Powered by blists - more mailing lists