[SUNRPC]: trivial endianness annotations

pure s/u32/__be32/

[AV: large part based on Alexey's patches]

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Alexey Dobriyan
2006-09-26 22:29:38 -07:00
committed by David S. Miller
parent 7699431301
commit d8ed029d60
22 changed files with 146 additions and 143 deletions

View File

@ -60,8 +60,8 @@ nul_match(struct auth_cred *acred, struct rpc_cred *cred, int taskflags)
/*
* Marshal credential.
*/
static u32 *
nul_marshal(struct rpc_task *task, u32 *p)
static __be32 *
nul_marshal(struct rpc_task *task, __be32 *p)
{
*p++ = htonl(RPC_AUTH_NULL);
*p++ = 0;
@ -81,8 +81,8 @@ nul_refresh(struct rpc_task *task)
return 0;
}
static u32 *
nul_validate(struct rpc_task *task, u32 *p)
static __be32 *
nul_validate(struct rpc_task *task, __be32 *p)
{
rpc_authflavor_t flavor;
u32 size;