diff options
Diffstat (limited to 'net/sunrpc/auth_null.c')
| -rw-r--r-- | net/sunrpc/auth_null.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/net/sunrpc/auth_null.c b/net/sunrpc/auth_null.c index f56767aaa927..3be257dc32b2 100644 --- a/net/sunrpc/auth_null.c +++ b/net/sunrpc/auth_null.c | |||
| @@ -60,8 +60,8 @@ nul_match(struct auth_cred *acred, struct rpc_cred *cred, int taskflags) | |||
| 60 | /* | 60 | /* |
| 61 | * Marshal credential. | 61 | * Marshal credential. |
| 62 | */ | 62 | */ |
| 63 | static u32 * | 63 | static __be32 * |
| 64 | nul_marshal(struct rpc_task *task, u32 *p) | 64 | nul_marshal(struct rpc_task *task, __be32 *p) |
| 65 | { | 65 | { |
| 66 | *p++ = htonl(RPC_AUTH_NULL); | 66 | *p++ = htonl(RPC_AUTH_NULL); |
| 67 | *p++ = 0; | 67 | *p++ = 0; |
| @@ -81,8 +81,8 @@ nul_refresh(struct rpc_task *task) | |||
| 81 | return 0; | 81 | return 0; |
| 82 | } | 82 | } |
| 83 | 83 | ||
| 84 | static u32 * | 84 | static __be32 * |
| 85 | nul_validate(struct rpc_task *task, u32 *p) | 85 | nul_validate(struct rpc_task *task, __be32 *p) |
| 86 | { | 86 | { |
| 87 | rpc_authflavor_t flavor; | 87 | rpc_authflavor_t flavor; |
| 88 | u32 size; | 88 | u32 size; |
| @@ -118,6 +118,8 @@ struct rpc_auth null_auth = { | |||
| 118 | .au_cslack = 4, | 118 | .au_cslack = 4, |
| 119 | .au_rslack = 2, | 119 | .au_rslack = 2, |
| 120 | .au_ops = &authnull_ops, | 120 | .au_ops = &authnull_ops, |
| 121 | .au_flavor = RPC_AUTH_NULL, | ||
| 122 | .au_count = ATOMIC_INIT(0), | ||
| 121 | }; | 123 | }; |
| 122 | 124 | ||
| 123 | static | 125 | static |
