Whamcloud - gitweb
Fix compiler warnings.
[fs/lustre-release.git] / lustre / include / lustre_req_layout.h
index d395309..88f3b29 100644 (file)
@@ -49,7 +49,7 @@ struct req_capsule {
         const struct req_format *rc_fmt;
         __u32                    rc_swabbed;
         enum req_location        rc_loc;
-        int                      rc_area[RCL_NR][REQ_MAX_FIELD_NR];
+        __u32                    rc_area[RCL_NR][REQ_MAX_FIELD_NR];
 };
 
 #if !defined(__REQ_LAYOUT_USER__)
@@ -91,7 +91,7 @@ void req_capsule_set_size(struct req_capsule *pill,
 int req_capsule_get_size(const struct req_capsule *pill,
                           const struct req_msg_field *field,
                           enum req_location loc);
-int req_capsule_msg_size(const struct req_capsule *pill, enum req_location loc);
+int req_capsule_msg_size(struct req_capsule *pill, enum req_location loc);
 int req_capsule_fmt_size(__u32 magic, const struct req_format *fmt,
                          enum req_location loc);
 void req_capsule_extend(struct req_capsule *pill, const struct req_format *fmt);