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


Groups > linux.kernel > #1343700

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

From James Simmons <jsimmons@infradead.org>
Newsgroups linux.kernel
Subject [PATCH v2 6/6] staging: lustre: update comment for lnet_lib_init/exit
Date 2016-02-26 02:20 +0100
Message-ID <r6fez-40K-33@gated-at.bofh.it> (permalink)
References <r6fey-40K-5@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 a911aef..aa24489 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 v2 0/6] staging: lustre: update modinfo data James Simmons <jsimmons@infradead.org> - 2016-02-26 02:20 +0100
  [PATCH v2 2/6] staging: lustre: add missing MODULE_AUTHOR for LNet selftest module James Simmons <jsimmons@infradead.org> - 2016-02-26 02:20 +0100
  [PATCH v2 6/6] staging: lustre: update comment for lnet_lib_init/exit James Simmons <jsimmons@infradead.org> - 2016-02-26 02:20 +0100
  [PATCH v2 5/6] staging: lustre: make module_init/exit naming consistent James Simmons <jsimmons@infradead.org> - 2016-02-26 02:20 +0100
  [PATCH v2 4/6] staging: lustre: update the MODULE_DESCRIPTION for all lustre modules James Simmons <jsimmons@infradead.org> - 2016-02-26 02:20 +0100
  [PATCH v2 1/6] staging: lustre: move module info to end of libcfs module.c file James Simmons <jsimmons@infradead.org> - 2016-02-26 02:20 +0100
  Re: [PATCH v2 0/6] staging: lustre: update modinfo data Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-02-26 07:10 +0100
    Re: [lustre-devel] [PATCH v2 0/6] staging: lustre: update modinfo  data "Drokin, Oleg" <oleg.drokin@intel.com> - 2016-02-26 07:20 +0100
      Re: [lustre-devel] [PATCH v2 0/6] staging: lustre: update modinfo data Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-02-26 07:30 +0100
        RE: [lustre-devel] [PATCH v2 0/6] staging: lustre: update modinfo  data "Simmons, James A." <simmonsja@ornl.gov> - 2016-02-26 16:50 +0100
          Re: [lustre-devel] [PATCH v2 0/6] staging: lustre: update modinfo data 'Greg Kroah-Hartman' <gregkh@linuxfoundation.org> - 2016-02-26 17:40 +0100

csiph-web