diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2012-04-15 01:58:06 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-15 12:44:40 -0400 |
commit | 95c961747284a6b83a5e2d81240e214b0fa3464d (patch) | |
tree | c7be86a00db3605a48a03109fafcbe31039ca2e0 /net/wireless/wext-core.c | |
parent | 5e73ea1a31c3612aa6dfe44f864ca5b7b6a4cff9 (diff) |
net: cleanup unsigned to unsigned int
Use of "unsigned int" is preferred to bare "unsigned" in net tree.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wireless/wext-core.c')
-rw-r--r-- | net/wireless/wext-core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/wireless/wext-core.c b/net/wireless/wext-core.c index 22adfebaad27..b0eb7aa49b60 100644 --- a/net/wireless/wext-core.c +++ b/net/wireless/wext-core.c | |||
@@ -256,7 +256,7 @@ static const struct iw_ioctl_description standard_ioctl[] = { | |||
256 | .max_tokens = sizeof(struct iw_pmksa), | 256 | .max_tokens = sizeof(struct iw_pmksa), |
257 | }, | 257 | }, |
258 | }; | 258 | }; |
259 | static const unsigned standard_ioctl_num = ARRAY_SIZE(standard_ioctl); | 259 | static const unsigned int standard_ioctl_num = ARRAY_SIZE(standard_ioctl); |
260 | 260 | ||
261 | /* | 261 | /* |
262 | * Meta-data about all the additional standard Wireless Extension events | 262 | * Meta-data about all the additional standard Wireless Extension events |
@@ -306,7 +306,7 @@ static const struct iw_ioctl_description standard_event[] = { | |||
306 | .max_tokens = sizeof(struct iw_pmkid_cand), | 306 | .max_tokens = sizeof(struct iw_pmkid_cand), |
307 | }, | 307 | }, |
308 | }; | 308 | }; |
309 | static const unsigned standard_event_num = ARRAY_SIZE(standard_event); | 309 | static const unsigned int standard_event_num = ARRAY_SIZE(standard_event); |
310 | 310 | ||
311 | /* Size (in bytes) of various events */ | 311 | /* Size (in bytes) of various events */ |
312 | static const int event_type_size[] = { | 312 | static const int event_type_size[] = { |
@@ -429,7 +429,7 @@ void wireless_send_event(struct net_device * dev, | |||
429 | int hdr_len; /* Size of the event header */ | 429 | int hdr_len; /* Size of the event header */ |
430 | int wrqu_off = 0; /* Offset in wrqu */ | 430 | int wrqu_off = 0; /* Offset in wrqu */ |
431 | /* Don't "optimise" the following variable, it will crash */ | 431 | /* Don't "optimise" the following variable, it will crash */ |
432 | unsigned cmd_index; /* *MUST* be unsigned */ | 432 | unsigned int cmd_index; /* *MUST* be unsigned */ |
433 | struct sk_buff *skb; | 433 | struct sk_buff *skb; |
434 | struct nlmsghdr *nlh; | 434 | struct nlmsghdr *nlh; |
435 | struct nlattr *nla; | 435 | struct nlattr *nla; |