Whamcloud - gitweb
LU-6142 lnet: change wire protocol typedefs to proper structure
[fs/lustre-release.git] / lnet / selftest / selftest.h
index 6017704..970f130 100644 (file)
@@ -387,7 +387,7 @@ typedef struct sfw_test_instance {
 /* XXX: trailing (PAGE_SIZE % sizeof(lnet_process_id_t)) bytes at
  * the end of pages are not used */
 #define SFW_MAX_CONCUR     LST_MAX_CONCUR
-#define SFW_ID_PER_PAGE    (PAGE_SIZE / sizeof(lnet_process_id_packed_t))
+#define SFW_ID_PER_PAGE    (PAGE_SIZE / sizeof(struct lnet_process_id_packed))
 #define SFW_MAX_NDESTS     (LNET_MAX_IOV * SFW_ID_PER_PAGE)
 #define sfw_id_pages(n)    (((n) + SFW_ID_PER_PAGE - 1) / SFW_ID_PER_PAGE)