diff options
| -rw-r--r-- | include/net/9p/client.h | 2 | ||||
| -rw-r--r-- | net/9p/client.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/net/9p/client.h b/include/net/9p/client.h index 55ce72ce9861..d479d7dcc4d5 100644 --- a/include/net/9p/client.h +++ b/include/net/9p/client.h | |||
| @@ -151,7 +151,7 @@ struct p9_req_t { | |||
| 151 | 151 | ||
| 152 | struct p9_client { | 152 | struct p9_client { |
| 153 | spinlock_t lock; /* protect client structure */ | 153 | spinlock_t lock; /* protect client structure */ |
| 154 | int msize; | 154 | unsigned int msize; |
| 155 | unsigned char proto_version; | 155 | unsigned char proto_version; |
| 156 | struct p9_trans_module *trans_mod; | 156 | struct p9_trans_module *trans_mod; |
| 157 | enum p9_trans_status status; | 157 | enum p9_trans_status status; |
diff --git a/net/9p/client.c b/net/9p/client.c index 0edee4de608a..b1c02187f862 100644 --- a/net/9p/client.c +++ b/net/9p/client.c | |||
| @@ -201,7 +201,8 @@ free_and_return: | |||
| 201 | * | 201 | * |
| 202 | */ | 202 | */ |
| 203 | 203 | ||
| 204 | static struct p9_req_t *p9_tag_alloc(struct p9_client *c, u16 tag, int max_size) | 204 | static struct p9_req_t * |
| 205 | p9_tag_alloc(struct p9_client *c, u16 tag, unsigned int max_size) | ||
| 205 | { | 206 | { |
| 206 | unsigned long flags; | 207 | unsigned long flags; |
| 207 | int row, col; | 208 | int row, col; |
