mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
net: cleanup unsigned to unsigned int
Use of "unsigned int" is preferred to bare "unsigned" in net tree. Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
5e73ea1a31
commit
95c9617472
167 changed files with 461 additions and 455 deletions
|
|
@ -1714,7 +1714,7 @@ static int key_notify_sa_flush(const struct km_event *c)
|
|||
static int pfkey_flush(struct sock *sk, struct sk_buff *skb, const struct sadb_msg *hdr, void * const *ext_hdrs)
|
||||
{
|
||||
struct net *net = sock_net(sk);
|
||||
unsigned proto;
|
||||
unsigned int proto;
|
||||
struct km_event c;
|
||||
struct xfrm_audit audit_info;
|
||||
int err, err2;
|
||||
|
|
@ -3547,7 +3547,7 @@ static int pfkey_sendmsg(struct kiocb *kiocb,
|
|||
goto out;
|
||||
|
||||
err = -EMSGSIZE;
|
||||
if ((unsigned)len > sk->sk_sndbuf - 32)
|
||||
if ((unsigned int)len > sk->sk_sndbuf - 32)
|
||||
goto out;
|
||||
|
||||
err = -ENOBUFS;
|
||||
|
|
|
|||
Loading…
Reference in a new issue