Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1340860

[PATCH 6/6] staging: lustre: update format for lnet_lib_init/exit comment

From James Simmons <jsimmons@infradead.org>
Newsgroups linux.kernel
Subject [PATCH 6/6] staging: lustre: update format for lnet_lib_init/exit comment
Date 2016-02-23 17:50 +0100
Message-ID <r5ojU-831-21@gated-at.bofh.it> (permalink)
References <r5ojT-831-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Andreas Dilger <andreas.dilger@intel.com>

The documentation about the return values for lnet_lib_init
and lnet_lib_exit was in the old style format. Bring it in
sync with the rest of the LNet core. Broken out of patch 16787.

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6204
Reviewed-on: http://review.whamcloud.com/16787
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Frank Zago <fzago@cray.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
---
 drivers/staging/lustre/lnet/lnet/api-ni.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/lustre/lnet/lnet/api-ni.c b/drivers/staging/lustre/lnet/lnet/api-ni.c
index e26886e..c4d5f2f 100644
--- a/drivers/staging/lustre/lnet/lnet/api-ni.c
+++ b/drivers/staging/lustre/lnet/lnet/api-ni.c
@@ -1389,7 +1389,8 @@ failed:
  * lnet_lib_exit() after a call to lnet_lib_init(), if and only if the
  * latter returned 0. It must be called exactly once.
  *
- * \return 0 on success, and -ve on failures.
+ * \retval 0 on success
+ * \retval -ve on failures.
  */
 int lnet_lib_init(void)
 {
-- 
1.7.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/6] staging: lustre: update modinfo data James Simmons <jsimmons@infradead.org> - 2016-02-23 17:50 +0100
  [PATCH 3/6] staging: lustre: update the MODULE_VERSION for all lustre modules James Simmons <jsimmons@infradead.org> - 2016-02-23 17:50 +0100
  [PATCH 6/6] staging: lustre: update format for lnet_lib_init/exit comment James Simmons <jsimmons@infradead.org> - 2016-02-23 17:50 +0100
  [PATCH 1/6] staging: lustre: move module info to end of libcfs module.c file James Simmons <jsimmons@infradead.org> - 2016-02-23 18:00 +0100
  [PATCH 2/6] staging: lustre: add missing MODULE_AUTHOR for LNet selftest module James Simmons <jsimmons@infradead.org> - 2016-02-23 18:00 +0100
  [PATCH 4/6] staging: lustre: update the MODULE_DESCRIPTION for all lustre modules James Simmons <jsimmons@infradead.org> - 2016-02-23 18:00 +0100

csiph-web