diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2008-01-14 15:11:53 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-01-30 02:06:09 -0500 |
commit | f1ec08cb9492cab579f85f9d937c79788b1dfde3 (patch) | |
tree | d43da0c7d36c547f562b678bb725f688a9be470f /net | |
parent | b91e101fca70319f9ca839311bceff5f44dfc1ed (diff) |
SUNRPC: Use appropriate argument types in rpcb client
Clean up: Follow recommendations of Chapter 5 of Documentation/CodingStyle
and use "u32" instead of "__u32" for types in definitions that are not
shared with user space.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/sunrpc/rpcb_clnt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/sunrpc/rpcb_clnt.c b/net/sunrpc/rpcb_clnt.c index 8962ac6b4c1..77af989ecc9 100644 --- a/net/sunrpc/rpcb_clnt.c +++ b/net/sunrpc/rpcb_clnt.c | |||
@@ -205,8 +205,7 @@ int rpcb_register(u32 prog, u32 vers, int prot, unsigned short port, int *okay) | |||
205 | * | 205 | * |
206 | * XXX: Needs to support IPv6, and rpcbind versions 3 and 4 | 206 | * XXX: Needs to support IPv6, and rpcbind versions 3 and 4 |
207 | */ | 207 | */ |
208 | int rpcb_getport_sync(struct sockaddr_in *sin, __u32 prog, | 208 | int rpcb_getport_sync(struct sockaddr_in *sin, u32 prog, u32 vers, int prot) |
209 | __u32 vers, int prot) | ||
210 | { | 209 | { |
211 | struct rpcbind_args map = { | 210 | struct rpcbind_args map = { |
212 | .r_prog = prog, | 211 | .r_prog = prog, |