From: James Simmons Date: Mon, 16 Jan 2017 21:30:08 +0000 (-0500) Subject: staging: lustre: lnet: change lstcon_test_ent_t to proper structure X-Git-Tag: v4.11-rc1~116^2~311 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b38531271acdfc5054694b1838f2cefb23a82005;p=karo-tx-linux.git staging: lustre: lnet: change lstcon_test_ent_t to proper structure Change lstcon_test_ent_t from typedef to proper structure. Signed-off-by: James Simmons Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6142 Reviewed-on: https://review.whamcloud.com/24188 Reviewed-by: Andreas Dilger Reviewed-by: Doug Oucharek Signed-off-by: James Simmons Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/include/linux/lnet/lnetst.h b/drivers/staging/lustre/include/linux/lnet/lnetst.h index ec243d792c7c..f197eb37cf71 100644 --- a/drivers/staging/lustre/include/linux/lnet/lnetst.h +++ b/drivers/staging/lustre/include/linux/lnet/lnetst.h @@ -98,11 +98,11 @@ struct lstcon_ndlist_ent { int nle_nunknown; /* # of unknown nodes */ }; /*** node_list entry, for list_batch command */ -typedef struct { +struct lstcon_test_ent { int tse_type; /* test type */ int tse_loop; /* loop count */ int tse_concur; /* concurrency of test */ -} lstcon_test_ent_t; /*** test summary entry, for +}; /*** test summary entry, for *** list_batch command */ typedef struct { @@ -118,7 +118,7 @@ typedef struct { struct lstcon_ndlist_ent tbe_srv_nle; /* server (group) node_list * entry */ union { - lstcon_test_ent_t tbe_test; /* test entry */ + struct lstcon_test_ent tbe_test; /* test entry */ lstcon_batch_ent_t tbe_batch; /* batch entry */ } u; } lstcon_test_batch_ent_t; /*** test/batch verbose information entry,