Whamcloud - gitweb
LU-6142 selftest: remove typedefs from lnet selftest
[fs/lustre-release.git] / lnet / selftest / module.c
index 2f87742..be5e37c 100644 (file)
@@ -87,12 +87,12 @@ lnet_selftest_exit(void)
 void
 lnet_selftest_structure_assertion(void)
 {
-        CLASSERT(sizeof(srpc_msg_t) == 160);
-        CLASSERT(sizeof(srpc_test_reqst_t) == 70);
-        CLASSERT(offsetof(srpc_msg_t, msg_body.tes_reqst.tsr_concur) == 72);
-        CLASSERT(offsetof(srpc_msg_t, msg_body.tes_reqst.tsr_ndest) == 78);
-        CLASSERT(sizeof(srpc_stat_reply_t) == 136);
-        CLASSERT(sizeof(srpc_stat_reqst_t) == 28);
+       CLASSERT(sizeof(struct srpc_msg) == 160);
+       CLASSERT(sizeof(struct srpc_test_reqst) == 70);
+       CLASSERT(offsetof(struct srpc_msg, msg_body.tes_reqst.tsr_concur) == 72);
+       CLASSERT(offsetof(struct srpc_msg, msg_body.tes_reqst.tsr_ndest) == 78);
+       CLASSERT(sizeof(struct srpc_stat_reply) == 136);
+       CLASSERT(sizeof(struct srpc_stat_reqst) == 28);
 }
 
 static int __init