Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e8bd0e
)
Fix a warning.
author
girish
<girish>
Tue, 29 Jul 2008 16:25:19 +0000
(16:25 +0000)
committer
girish
<girish>
Tue, 29 Jul 2008 16:25:19 +0000
(16:25 +0000)
lustre/ptlrpc/pack_generic.c
patch
|
blob
|
history
diff --git
a/lustre/ptlrpc/pack_generic.c
b/lustre/ptlrpc/pack_generic.c
index
b48ffb7
..
1555bc1
100644
(file)
--- a/
lustre/ptlrpc/pack_generic.c
+++ b/
lustre/ptlrpc/pack_generic.c
@@
-1675,7
+1675,7
@@
__u32 lustre_msg_calc_cksum(struct lustre_msg *msg)
struct ptlrpc_body *pb;
pb = lustre_msg_buf_v2(msg, MSG_PTLRPC_BODY_OFF, sizeof(*pb));
LASSERTF(pb, "invalid msg %p: no ptlrpc body!\n", msg);
- return crc32_le(~(__u32)0, (char *)pb, sizeof(*pb));
+ return crc32_le(~(__u32)0, (
unsigned
char *)pb, sizeof(*pb));
}
default:
CERROR("incorrect message magic: %08x\n", msg->lm_magic);