diff options
author | David Howells <dhowells@redhat.com> | 2016-10-13 03:27:10 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2016-10-13 12:03:52 -0400 |
commit | 50a2c95381a7d0e453d7bdfde81d0c5f8351ba54 (patch) | |
tree | 7fd5d1c0e3f4e7232a2f55d69f20e95a493ef050 /fs/afs/cmservice.c | |
parent | 07096f612fdf2bb5578cd1fecb2884bdbb1cde42 (diff) |
afs: call->operation_ID sometimes used as __be32 sometimes as u32
call->operation_ID is sometimes being used as __be32 sometimes is being
used as u32. Be consistent and settle on using as u32.
Signed-off-by: David Howells <dhowells@redhat.com.
Diffstat (limited to 'fs/afs/cmservice.c')
-rw-r--r-- | fs/afs/cmservice.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/afs/cmservice.c b/fs/afs/cmservice.c index 2037e7a77a37..d764236072b1 100644 --- a/fs/afs/cmservice.c +++ b/fs/afs/cmservice.c | |||
@@ -91,11 +91,9 @@ static const struct afs_call_type afs_SRXCBTellMeAboutYourself = { | |||
91 | */ | 91 | */ |
92 | bool afs_cm_incoming_call(struct afs_call *call) | 92 | bool afs_cm_incoming_call(struct afs_call *call) |
93 | { | 93 | { |
94 | u32 operation_id = ntohl(call->operation_ID); | 94 | _enter("{CB.OP %u}", call->operation_ID); |
95 | 95 | ||
96 | _enter("{CB.OP %u}", operation_id); | 96 | switch (call->operation_ID) { |
97 | |||
98 | switch (operation_id) { | ||
99 | case CBCallBack: | 97 | case CBCallBack: |
100 | call->type = &afs_SRXCBCallBack; | 98 | call->type = &afs_SRXCBCallBack; |
101 | return true; | 99 | return true; |