aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorAmaury.Bouchra.Pilet@ENS.fr <Amaury.Bouchra.Pilet@ENS.fr>2015-04-05 00:58:16 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-04-05 18:43:35 +0200
commitf9541f8239a5765595543b021b2dce6a8d6653ab (patch)
treeed5b25b20353e54a33b30b37748fcae1a69db4f4 /drivers/staging
parentstaging: lustre: lnet: lnet: fix error return code (diff)
downloadlinux-dev-f9541f8239a5765595543b021b2dce6a8d6653ab.tar.xz
linux-dev-f9541f8239a5765595543b021b2dce6a8d6653ab.zip
staging: lustre: orthography & coding style
Orthography and coding style corrections. Signed-off-by: Amaury Bouchra Pilet <Amaury.Bouchra.Pilet@ENS.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/lustre/lnet/lnet/peer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/lustre/lnet/lnet/peer.c b/drivers/staging/lustre/lnet/lnet/peer.c
index c93ae8510530..45b5742f1bd2 100644
--- a/drivers/staging/lustre/lnet/lnet/peer.c
+++ b/drivers/staging/lustre/lnet/lnet/peer.c
@@ -87,7 +87,7 @@ lnet_peer_tables_destroy(void)
cfs_percpt_for_each(ptable, i, the_lnet.ln_peer_tables) {
hash = ptable->pt_hash;
- if (hash == NULL) /* not intialized */
+ if (hash == NULL) /* not initialized */
break;
LASSERT(list_empty(&ptable->pt_deathrow));
@@ -132,7 +132,7 @@ lnet_peer_tables_cleanup(void)
}
cfs_percpt_for_each(ptable, i, the_lnet.ln_peer_tables) {
- LIST_HEAD (deathrow);
+ LIST_HEAD(deathrow);
lnet_peer_t *lp;
lnet_net_lock(i);