summaryrefslogtreecommitdiff
path: root/drivers/staging/lustre/lnet/selftest/console.h
diff options
context:
space:
mode:
authorJames Simmons <jsimmons@infradead.org>2016-04-06 15:25:45 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-04-11 21:01:20 -0700
commit7299d186046b6cb285951abe75fa691c24c3a1a8 (patch)
treea0472c64470de4561730d99be2fb739dc8519ef7 /drivers/staging/lustre/lnet/selftest/console.h
parent6bd88c7ad462ed00d63e508832bad5621d091696 (diff)
staging: lustre: selftest: convert lstcon_tsb_hdr_t to proper struct
Turn typedef lstcon_tsb_hdr_t to proper structure Signed-off-by: James Simmons <uja.ornl@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lnet/selftest/console.h')
-rw-r--r--drivers/staging/lustre/lnet/selftest/console.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/lustre/lnet/selftest/console.h b/drivers/staging/lustre/lnet/selftest/console.h
index 74bfcd865065..427bc9b8c4dc 100644
--- a/drivers/staging/lustre/lnet/selftest/console.h
+++ b/drivers/staging/lustre/lnet/selftest/console.h
@@ -84,13 +84,13 @@ struct lstcon_group {
#define LST_BATCH_IDLE 0xB0 /* idle batch */
#define LST_BATCH_RUNNING 0xB1 /* running batch */
-typedef struct lstcon_tsb_hdr {
+struct lstcon_tsb_hdr {
lst_bid_t tsb_id; /* batch ID */
int tsb_index; /* test index */
-} lstcon_tsb_hdr_t;
+};
typedef struct {
- lstcon_tsb_hdr_t bat_hdr; /* test_batch header */
+ struct lstcon_tsb_hdr bat_hdr; /* test_batch header */
struct list_head bat_link; /* chain on session's batches list */
int bat_ntest; /* # of test */
int bat_state; /* state of the batch */
@@ -109,7 +109,7 @@ typedef struct {
} lstcon_batch_t; /* (tests ) batch descriptor */
typedef struct lstcon_test {
- lstcon_tsb_hdr_t tes_hdr; /* test batch header */
+ struct lstcon_tsb_hdr tes_hdr; /* test batch header */
struct list_head tes_link; /* chain on batch's tests list */
lstcon_batch_t *tes_batch; /* pointer to batch */