SUNRPC: Fix a few sparse warnings
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 11 Mar 2012 19:22:54 +0000 (15:22 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 11 Mar 2012 23:30:02 +0000 (19:30 -0400)
commit09acfea5d8de419ebe84be43b08f7b79c965215f
tree16f7ef15b00d8601917de6812b9ac951c9458ef6
parent17280175c587469b34757263c7cfc608f0ea2334
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>
include/linux/sunrpc/bc_xprt.h
include/linux/sunrpc/svcauth.h
include/linux/sunrpc/xprtsock.h
net/sunrpc/auth_gss/gss_krb5_mech.c
net/sunrpc/auth_gss/gss_krb5_seal.c
net/sunrpc/backchannel_rqst.c
net/sunrpc/rpc_pipe.c
net/sunrpc/sunrpc_syms.c
net/sunrpc/svcsock.c
net/sunrpc/xprtsock.c