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/phonet/pep.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/phonet/pep.c')
-rw-r--r-- | net/phonet/pep.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/phonet/pep.c b/net/phonet/pep.c index 9726fe684ab8..9dd4f926f7d1 100644 --- a/net/phonet/pep.c +++ b/net/phonet/pep.c | |||
@@ -273,7 +273,7 @@ static int pipe_rcv_status(struct sock *sk, struct sk_buff *skb) | |||
273 | hdr = pnp_hdr(skb); | 273 | hdr = pnp_hdr(skb); |
274 | if (hdr->data[0] != PN_PEP_TYPE_COMMON) { | 274 | if (hdr->data[0] != PN_PEP_TYPE_COMMON) { |
275 | LIMIT_NETDEBUG(KERN_DEBUG"Phonet unknown PEP type: %u\n", | 275 | LIMIT_NETDEBUG(KERN_DEBUG"Phonet unknown PEP type: %u\n", |
276 | (unsigned)hdr->data[0]); | 276 | (unsigned int)hdr->data[0]); |
277 | return -EOPNOTSUPP; | 277 | return -EOPNOTSUPP; |
278 | } | 278 | } |
279 | 279 | ||
@@ -305,7 +305,7 @@ static int pipe_rcv_status(struct sock *sk, struct sk_buff *skb) | |||
305 | 305 | ||
306 | default: | 306 | default: |
307 | LIMIT_NETDEBUG(KERN_DEBUG"Phonet unknown PEP indication: %u\n", | 307 | LIMIT_NETDEBUG(KERN_DEBUG"Phonet unknown PEP indication: %u\n", |
308 | (unsigned)hdr->data[1]); | 308 | (unsigned int)hdr->data[1]); |
309 | return -EOPNOTSUPP; | 309 | return -EOPNOTSUPP; |
310 | } | 310 | } |
311 | if (wake) | 311 | if (wake) |
@@ -478,9 +478,9 @@ static void pipe_destruct(struct sock *sk) | |||
478 | skb_queue_purge(&pn->ctrlreq_queue); | 478 | skb_queue_purge(&pn->ctrlreq_queue); |
479 | } | 479 | } |
480 | 480 | ||
481 | static u8 pipe_negotiate_fc(const u8 *fcs, unsigned n) | 481 | static u8 pipe_negotiate_fc(const u8 *fcs, unsigned int n) |
482 | { | 482 | { |
483 | unsigned i; | 483 | unsigned int i; |
484 | u8 final_fc = PN_NO_FLOW_CONTROL; | 484 | u8 final_fc = PN_NO_FLOW_CONTROL; |
485 | 485 | ||
486 | for (i = 0; i < n; i++) { | 486 | for (i = 0; i < n; i++) { |