mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -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
|
|
@ -256,7 +256,7 @@ static const struct iw_ioctl_description standard_ioctl[] = {
|
|||
.max_tokens = sizeof(struct iw_pmksa),
|
||||
},
|
||||
};
|
||||
static const unsigned standard_ioctl_num = ARRAY_SIZE(standard_ioctl);
|
||||
static const unsigned int standard_ioctl_num = ARRAY_SIZE(standard_ioctl);
|
||||
|
||||
/*
|
||||
* Meta-data about all the additional standard Wireless Extension events
|
||||
|
|
@ -306,7 +306,7 @@ static const struct iw_ioctl_description standard_event[] = {
|
|||
.max_tokens = sizeof(struct iw_pmkid_cand),
|
||||
},
|
||||
};
|
||||
static const unsigned standard_event_num = ARRAY_SIZE(standard_event);
|
||||
static const unsigned int standard_event_num = ARRAY_SIZE(standard_event);
|
||||
|
||||
/* Size (in bytes) of various events */
|
||||
static const int event_type_size[] = {
|
||||
|
|
@ -429,7 +429,7 @@ void wireless_send_event(struct net_device * dev,
|
|||
int hdr_len; /* Size of the event header */
|
||||
int wrqu_off = 0; /* Offset in wrqu */
|
||||
/* Don't "optimise" the following variable, it will crash */
|
||||
unsigned cmd_index; /* *MUST* be unsigned */
|
||||
unsigned int cmd_index; /* *MUST* be unsigned */
|
||||
struct sk_buff *skb;
|
||||
struct nlmsghdr *nlh;
|
||||
struct nlattr *nla;
|
||||
|
|
|
|||
Loading…
Reference in a new issue