Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1199509 > unrolled thread
| Started by | Jandy Gou <qingsong.gou@ck-telecom.com> |
|---|---|
| First post | 2015-08-04 10:20 +0200 |
| Last post | 2015-08-05 05:40 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH] staging: lustre: Fix coding style errors Jandy Gou <qingsong.gou@ck-telecom.com> - 2015-08-04 10:20 +0200
Re: [PATCH] staging: lustre: Fix coding style errors Joe Perches <joe@perches.com> - 2015-08-05 05:40 +0200
| From | Jandy Gou <qingsong.gou@ck-telecom.com> |
|---|---|
| Date | 2015-08-04 10:20 +0200 |
| Subject | [PATCH] staging: lustre: Fix coding style errors |
| Message-ID | <pTFC2-4PP-23@gated-at.bofh.it> |
Signed-off-by: Jandy Gou <qingsong.gou@ck-telecom.com>
---
drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h b/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h
index 0d8fa3a..185da2c 100644
--- a/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h
+++ b/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h
@@ -721,7 +721,7 @@ kiblnd_nid2peerlist (lnet_nid_t nid)
unsigned int hash =
((unsigned int)nid) % kiblnd_data.kib_peer_hash_size;
- return (&kiblnd_data.kib_peers [hash]);
+ return (&kiblnd_data.kib_peers[hash]);
}
static inline int
@@ -887,7 +887,7 @@ kiblnd_rd_consume_frag(kib_rdma_desc_t *rd, int index, __u32 nob)
rd->rd_frags[index].rf_addr += nob;
rd->rd_frags[index].rf_nob -= nob;
} else {
- index ++;
+ index++;
}
return index;
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Joe Perches <joe@perches.com> |
|---|---|
| Date | 2015-08-05 05:40 +0200 |
| Message-ID | <pTXIB-61j-1@gated-at.bofh.it> |
| In reply to | #1199509 |
On Tue, 2015-08-04 at 16:10 +0800, Jandy Gou wrote: > Signed-off-by: Jandy Gou <qingsong.gou@ck-telecom.com> [] > diff --git a/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h b/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h [] > @@ -721,7 +721,7 @@ kiblnd_nid2peerlist (lnet_nid_t nid) > unsigned int hash = > ((unsigned int)nid) % kiblnd_data.kib_peer_hash_size; > > - return (&kiblnd_data.kib_peers [hash]); > + return (&kiblnd_data.kib_peers[hash]); Please run your own patches though checkpatch and please remove the unnecessary parenthesis around the return value at the same time. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web