aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc/bc_xprt.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-03-11 15:22:54 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-03-11 19:30:02 -0400
commit09acfea5d8de419ebe84be43b08f7b79c965215f (patch)
tree16f7ef15b00d8601917de6812b9ac951c9458ef6 /include/linux/sunrpc/bc_xprt.h
parentNFS: Fix a number of sparse warnings (diff)
downloadlinux-dev-09acfea5d8de419ebe84be43b08f7b79c965215f.tar.xz
linux-dev-09acfea5d8de419ebe84be43b08f7b79c965215f.zip
SUNRPC: Fix a few sparse warnings
net/sunrpc/svcsock.c:412:22: warning: incorrect type in assignment (different address spaces) - svc_partial_recvfrom now takes a struct kvec, so the variable save_iovbase needs to be an ordinary (void *) Make a bunch of variables in net/sunrpc/xprtsock.c static Fix a couple of "warning: symbol 'foo' was not declared. Should it be static?" reports. Fix a couple of conflicting function declarations. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc/bc_xprt.h')
-rw-r--r--include/linux/sunrpc/bc_xprt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sunrpc/bc_xprt.h b/include/linux/sunrpc/bc_xprt.h
index f7f3ce340c08..969c0a671dbf 100644
--- a/include/linux/sunrpc/bc_xprt.h
+++ b/include/linux/sunrpc/bc_xprt.h
@@ -35,7 +35,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
struct rpc_rqst *xprt_alloc_bc_request(struct rpc_xprt *xprt);
void xprt_free_bc_request(struct rpc_rqst *req);
int xprt_setup_backchannel(struct rpc_xprt *, unsigned int min_reqs);
-void xprt_destroy_backchannel(struct rpc_xprt *, int max_reqs);
+void xprt_destroy_backchannel(struct rpc_xprt *, unsigned int max_reqs);
int bc_send(struct rpc_rqst *req);
/*