From 911fe6880973461df4bbdcd2af4a35d46d7aa524 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Fri, 26 Aug 2011 19:57:40 +0300 Subject: [PATCH] --- yaml --- r: 267252 b: refs/heads/master c: ef6b0807e2c986d5f1cb878e1b32a7cf4c32b4c8 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/net/9p/client.h | 2 +- trunk/net/9p/client.c | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index b47398b37a30..49d1a9230af4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4d5077f1b2aa502a0ca98b450d1b16fbccfe9c63 +refs/heads/master: ef6b0807e2c986d5f1cb878e1b32a7cf4c32b4c8 diff --git a/trunk/include/net/9p/client.h b/trunk/include/net/9p/client.h index 55ce72ce9861..d479d7dcc4d5 100644 --- a/trunk/include/net/9p/client.h +++ b/trunk/include/net/9p/client.h @@ -151,7 +151,7 @@ struct p9_req_t { struct p9_client { spinlock_t lock; /* protect client structure */ - int msize; + unsigned int msize; unsigned char proto_version; struct p9_trans_module *trans_mod; enum p9_trans_status status; diff --git a/trunk/net/9p/client.c b/trunk/net/9p/client.c index 0edee4de608a..b1c02187f862 100644 --- a/trunk/net/9p/client.c +++ b/trunk/net/9p/client.c @@ -201,7 +201,8 @@ static int parse_opts(char *opts, struct p9_client *clnt) * */ -static struct p9_req_t *p9_tag_alloc(struct p9_client *c, u16 tag, int max_size) +static struct p9_req_t * +p9_tag_alloc(struct p9_client *c, u16 tag, unsigned int max_size) { unsigned long flags; int row, col;