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/9p | |
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/9p')
-rw-r--r-- | net/9p/client.c | 6 | ||||
-rw-r--r-- | net/9p/trans_fd.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/net/9p/client.c b/net/9p/client.c index b23a17c431c8..a170893d70e0 100644 --- a/net/9p/client.c +++ b/net/9p/client.c | |||
@@ -1530,7 +1530,7 @@ p9_client_read(struct p9_fid *fid, char *data, char __user *udata, u64 offset, | |||
1530 | 1530 | ||
1531 | 1531 | ||
1532 | p9_debug(P9_DEBUG_9P, ">>> TREAD fid %d offset %llu %d\n", | 1532 | p9_debug(P9_DEBUG_9P, ">>> TREAD fid %d offset %llu %d\n", |
1533 | fid->fid, (long long unsigned) offset, count); | 1533 | fid->fid, (unsigned long long) offset, count); |
1534 | err = 0; | 1534 | err = 0; |
1535 | clnt = fid->clnt; | 1535 | clnt = fid->clnt; |
1536 | 1536 | ||
@@ -1605,7 +1605,7 @@ p9_client_write(struct p9_fid *fid, char *data, const char __user *udata, | |||
1605 | struct p9_req_t *req; | 1605 | struct p9_req_t *req; |
1606 | 1606 | ||
1607 | p9_debug(P9_DEBUG_9P, ">>> TWRITE fid %d offset %llu count %d\n", | 1607 | p9_debug(P9_DEBUG_9P, ">>> TWRITE fid %d offset %llu count %d\n", |
1608 | fid->fid, (long long unsigned) offset, count); | 1608 | fid->fid, (unsigned long long) offset, count); |
1609 | err = 0; | 1609 | err = 0; |
1610 | clnt = fid->clnt; | 1610 | clnt = fid->clnt; |
1611 | 1611 | ||
@@ -2040,7 +2040,7 @@ int p9_client_readdir(struct p9_fid *fid, char *data, u32 count, u64 offset) | |||
2040 | char *dataptr; | 2040 | char *dataptr; |
2041 | 2041 | ||
2042 | p9_debug(P9_DEBUG_9P, ">>> TREADDIR fid %d offset %llu count %d\n", | 2042 | p9_debug(P9_DEBUG_9P, ">>> TREADDIR fid %d offset %llu count %d\n", |
2043 | fid->fid, (long long unsigned) offset, count); | 2043 | fid->fid, (unsigned long long) offset, count); |
2044 | 2044 | ||
2045 | err = 0; | 2045 | err = 0; |
2046 | clnt = fid->clnt; | 2046 | clnt = fid->clnt; |
diff --git a/net/9p/trans_fd.c b/net/9p/trans_fd.c index fccae26fa674..6449bae15702 100644 --- a/net/9p/trans_fd.c +++ b/net/9p/trans_fd.c | |||
@@ -513,7 +513,7 @@ error: | |||
513 | clear_bit(Wworksched, &m->wsched); | 513 | clear_bit(Wworksched, &m->wsched); |
514 | } | 514 | } |
515 | 515 | ||
516 | static int p9_pollwake(wait_queue_t *wait, unsigned mode, int sync, void *key) | 516 | static int p9_pollwake(wait_queue_t *wait, unsigned int mode, int sync, void *key) |
517 | { | 517 | { |
518 | struct p9_poll_wait *pwait = | 518 | struct p9_poll_wait *pwait = |
519 | container_of(wait, struct p9_poll_wait, wait); | 519 | container_of(wait, struct p9_poll_wait, wait); |