diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-03-11 15:22:54 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-03-11 19:30:02 -0400 |
commit | 09acfea5d8de419ebe84be43b08f7b79c965215f (patch) | |
tree | 16f7ef15b00d8601917de6812b9ac951c9458ef6 /net/sunrpc/rpc_pipe.c | |
parent | 17280175c587469b34757263c7cfc608f0ea2334 (diff) | |
download | linux-3.10-09acfea5d8de419ebe84be43b08f7b79c965215f.tar.gz linux-3.10-09acfea5d8de419ebe84be43b08f7b79c965215f.tar.bz2 linux-3.10-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 'net/sunrpc/rpc_pipe.c')
-rw-r--r-- | net/sunrpc/rpc_pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c index 7d96e3cd57c..8584ec068e9 100644 --- a/net/sunrpc/rpc_pipe.c +++ b/net/sunrpc/rpc_pipe.c @@ -1149,7 +1149,7 @@ rpc_mount(struct file_system_type *fs_type, return mount_ns(fs_type, flags, current->nsproxy->net_ns, rpc_fill_super); } -void rpc_kill_sb(struct super_block *sb) +static void rpc_kill_sb(struct super_block *sb) { struct net *net = sb->s_fs_info; struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); |