summaryrefslogtreecommitdiff
path: root/net/9p/trans_common.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2011-03-24 23:14:46 +0530
committerEric Van Hensbergen <ericvh@gmail.com>2011-04-15 15:26:14 -0500
commitbd8c8ade6b6f109bc3dce14a8d12013f27f2a590 (patch)
tree048d4def5cefa6fa7525db43fa1de8e4584465e1 /net/9p/trans_common.c
parent936bb2d7034165fd6ef7afea54057da65c329a27 (diff)
downloadlinux-3.10-bd8c8ade6b6f109bc3dce14a8d12013f27f2a590.tar.gz
linux-3.10-bd8c8ade6b6f109bc3dce14a8d12013f27f2a590.tar.bz2
linux-3.10-bd8c8ade6b6f109bc3dce14a8d12013f27f2a590.zip
9p: Fix sparse error
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'net/9p/trans_common.c')
-rw-r--r--net/9p/trans_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/9p/trans_common.c b/net/9p/trans_common.c
index d47880e971d..e883172f9aa 100644
--- a/net/9p/trans_common.c
+++ b/net/9p/trans_common.c
@@ -66,7 +66,7 @@ p9_payload_gup(struct p9_req_t *req, size_t *pdata_off, int *pdata_len,
uint32_t pdata_mapped_pages;
struct trans_rpage_info *rpinfo;
- *pdata_off = (size_t)req->tc->pubuf & (PAGE_SIZE-1);
+ *pdata_off = (__force size_t)req->tc->pubuf & (PAGE_SIZE-1);
if (*pdata_off)
first_page_bytes = min(((size_t)PAGE_SIZE - *pdata_off),