]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: fix variable type
authorAndrzej Hajda <a.hajda@samsung.com>
Thu, 24 Sep 2015 14:00:09 +0000 (16:00 +0200)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 3 Nov 2015 17:31:31 +0000 (12:31 -0500)
commit45fe2650cf213da1b665dda979f6662d89e42cfc
tree7db21c82536798d71dea6e475b65137588d90e7a
parentc41e282a1c3e3c7b9b0c05eb1a79ab8103422937
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>
net/sunrpc/xprtsock.c