]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaaf77328a76cb04be83dfaf48bc4eb47bc04a753
tree16f7ef15b00d8601917de6812b9ac951c9458ef6
parentcfed11569710106a87ca14ebac5f39aaf4a05fa8
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