From: Andreas Dilger Date: Fri, 26 Feb 2016 16:36:06 +0000 (-0500) Subject: staging: lustre: update comment for lnet_lib_init/exit X-Git-Tag: v5.15~14007^2~367 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=29b2dedfb7d4a55e9ea050eb93e5ffa01ff35dce;p=platform%2Fkernel%2Flinux-starfive.git staging: lustre: update comment for lnet_lib_init/exit 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 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6204 Reviewed-on: http://review.whamcloud.com/16787 Reviewed-by: John L. Hammond Reviewed-by: Dmitry Eremin Reviewed-by: Frank Zago Reviewed-by: Oleg Drokin Signed-off-by: Greg Kroah-Hartman --- 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) {