Commit 0b4427de authored by James Simmons's avatar James Simmons Committed by Greg Kroah-Hartman

staging: lustre: realign some code in lnet selftest so its readable

Two places to align the code so it is easier to read.
Signed-off-by: default avatarJames Simmons <jsimmons@infradead.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9b8fa445
......@@ -733,7 +733,7 @@ lstcon_group_list(int index, int len, char __user *name_up)
list_for_each_entry(grp, &console_session.ses_grp_list, grp_link) {
if (!index--) {
return copy_to_user(name_up, grp->grp_name, len) ?
-EFAULT : 0;
-EFAULT : 0;
}
}
......
......@@ -86,8 +86,8 @@ ping_client_fini(sfw_test_instance_t *tsi)
}
static int
ping_client_prep_rpc(sfw_test_unit_t *tsu,
lnet_process_id_t dest, srpc_client_rpc_t **rpc)
ping_client_prep_rpc(sfw_test_unit_t *tsu, lnet_process_id_t dest,
srpc_client_rpc_t **rpc)
{
srpc_ping_reqst_t *req;
sfw_test_instance_t *tsi = tsu->tsu_instance;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment