staging: lustre: realign some code in lnet selftest so its readable
authorJames Simmons <jsimmons@infradead.org>
Sat, 12 Mar 2016 18:00:35 +0000 (13:00 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
Two places to align the code so it is easier to read.

Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/selftest/console.c
drivers/staging/lustre/lnet/selftest/ping_test.c

index 17d0d132d10386a4d5b8e62c0021f61d3ede3aba..6ec895208c2667ddbe60d2ffddd1d68c13a52fea 100644 (file)
@@ -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;
                }
        }
 
index 81a45045e186ae4175b263d677dcd12214109bac..438fca2e9b951906dcb71de13662b330b4632d94 100644 (file)
@@ -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;