mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 15:18:19 +00:00
SUNRPC: fix variable type
Due to incorrect len type bc_send_request returned always zero. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2046107 Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
This commit is contained in:
parent
ac3c860c75
commit
7fc561362d
1 changed files with 1 additions and 1 deletions
|
@ -2570,7 +2570,7 @@ static int bc_send_request(struct rpc_task *task)
|
||||||
{
|
{
|
||||||
struct rpc_rqst *req = task->tk_rqstp;
|
struct rpc_rqst *req = task->tk_rqstp;
|
||||||
struct svc_xprt *xprt;
|
struct svc_xprt *xprt;
|
||||||
u32 len;
|
int len;
|
||||||
|
|
||||||
dprintk("sending request with xid: %08x\n", ntohl(req->rq_xid));
|
dprintk("sending request with xid: %08x\n", ntohl(req->rq_xid));
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue