aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/lnet/selftest/framework.c
diff options
context:
space:
mode:
authorJames Simmons <jsimmons@infradead.org>2016-04-06 15:25:31 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-04-11 21:00:56 -0700
commit25a9ca5202e6f8d1e5c9eafc239788d9ebffb02c (patch)
tree630b87ad74352ba56f9c9c9c9ef954e6f895fdac /drivers/staging/lustre/lnet/selftest/framework.c
parentstaging: lustre: selftest: convert srpc_buffer_t to proper struct (diff)
downloadlinux-dev-25a9ca5202e6f8d1e5c9eafc239788d9ebffb02c.tar.xz
linux-dev-25a9ca5202e6f8d1e5c9eafc239788d9ebffb02c.zip
staging: lustre: selftest: convert swi_workitem_t to proper struct
Turn typedef swi_workitem_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/framework.c')
-rw-r--r--drivers/staging/lustre/lnet/selftest/framework.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/lustre/lnet/selftest/framework.c b/drivers/staging/lustre/lnet/selftest/framework.c
index 6472108f19b5..c8f8a8d26a2b 100644
--- a/drivers/staging/lustre/lnet/selftest/framework.c
+++ b/drivers/staging/lustre/lnet/selftest/framework.c
@@ -942,7 +942,7 @@ sfw_create_test_rpc(sfw_test_unit_t *tsu, lnet_process_id_t peer,
}
static int
-sfw_run_test(swi_workitem_t *wi)
+sfw_run_test(struct swi_workitem *wi)
{
sfw_test_unit_t *tsu = wi->swi_workitem.wi_data;
sfw_test_instance_t *tsi = tsu->tsu_instance;
@@ -993,7 +993,7 @@ test_done:
static int
sfw_run_batch(sfw_batch_t *tsb)
{
- swi_workitem_t *wi;
+ struct swi_workitem *wi;
sfw_test_unit_t *tsu;
sfw_test_instance_t *tsi;