aboutsummaryrefslogtreecommitdiffstats
path: root/net/9p/client.c
diff options
context:
space:
mode:
authorEric Van Hensbergen <ericvh@gmail.com>2008-10-22 19:54:47 -0400
committerEric Van Hensbergen <ericvh@opteron.(none)>2008-10-22 19:54:47 -0400
commite45c5405e12c7cef93940cb7a541ab459ec0096a (patch)
tree9855f49330da6658e505f6f51995aa216cddcdb5 /net/9p/client.c
parentfc79d4b104f0eb8c2a7242150eaf8756ced4c344 (diff)
9p: fix sparse warnings
Several sparse warnings were introduced by patches accepted during the merge window which weren't caught. This patch fixes those warnings. Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'net/9p/client.c')
-rw-r--r--net/9p/client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/9p/client.c b/net/9p/client.c
index bbac2f72b4d2..67717f69412e 100644
--- a/net/9p/client.c
+++ b/net/9p/client.c
@@ -159,6 +159,7 @@ static struct p9_req_t *p9_tag_alloc(struct p9_client *c, u16 tag)
159 159
160 if (!c->reqs[row]) { 160 if (!c->reqs[row]) {
161 printk(KERN_ERR "Couldn't grow tag array\n"); 161 printk(KERN_ERR "Couldn't grow tag array\n");
162 spin_unlock_irqrestore(&c->lock, flags);
162 return ERR_PTR(-ENOMEM); 163 return ERR_PTR(-ENOMEM);
163 } 164 }
164 for (col = 0; col < P9_ROW_MAXTAG; col++) { 165 for (col = 0; col < P9_ROW_MAXTAG; col++) {