From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com []) by mx.groups.io with SMTP id smtpd.web09.2856.1573732102265149459 for ; Thu, 14 Nov 2019 03:48:22 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: intel.com, ip: , mailfrom: shenglei.zhang@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Nov 2019 03:46:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,304,1569308400"; d="scan'208";a="203041258" Received: from shenglei-mobl.ccr.corp.intel.com ([10.67.162.167]) by fmsmga008.fm.intel.com with ESMTP; 14 Nov 2019 03:46:57 -0800 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Shenglei Zhang , Michael D Kinney , Liming Gao Subject: [PATCH] MdePkg: Update the comments of IsLanguageSupported Date: Thu, 14 Nov 2019 17:16:41 +0530 Message-Id: <20191114114644.5504-3-shenglei.zhang@intel.com> X-Mailer: git-send-email 2.18.0.windows.1 In-Reply-To: <20191114114644.5504-1-shenglei.zhang@intel.com> References: <20191114114644.5504-1-shenglei.zhang@intel.com> From: Shenglei Zhang Keep the comment style of IsLanguageSupported align with other functions. Cc: Michael D Kinney Cc: Liming Gao Signed-off-by: Shenglei Zhang --- MdePkg/Library/UefiLib/UefiLib.c | 18 +++++++++--------- MdePkg/Include/Library/UefiLib.h | 19 ++++++++++--------- 2 files changed, 19 insertions(+), 18 deletions(-) diff --git a/MdePkg/Library/UefiLib/UefiLib.c b/MdePkg/Library/UefiLib/UefiLib.c index cc03be84c2d8..07c45d1e91ff 100644 --- a/MdePkg/Library/UefiLib/UefiLib.c +++ b/MdePkg/Library/UefiLib/UefiLib.c @@ -641,15 +641,15 @@ EfiTestChildHandle ( } /** - * This function checks the supported languages list for a target language, - * This only supports RFC 4646 Languages. - * - * @param SupportedLanguages The supported languages - * @param TargetLanguage The target language - * - * @return Returns EFI_SUCCESS if the language is supported, - * EFI_UNSUPPORTED otherwise - */ + This function checks the supported languages list for a target language, + This only supports RFC 4646 Languages. + + @param SupportedLanguages The supported languages + @param TargetLanguage The target language + + @retval Returns EFI_SUCCESS if the language is supported, + EFI_UNSUPPORTED otherwise +**/ EFI_STATUS EFIAPI IsLanguageSupported ( diff --git a/MdePkg/Include/Library/UefiLib.h b/MdePkg/Include/Library/UefiLib.h index 67c6f96747ca..0abb40d6ecbd 100644 --- a/MdePkg/Include/Library/UefiLib.h +++ b/MdePkg/Include/Library/UefiLib.h @@ -462,15 +462,16 @@ EfiTestChildHandle ( ); /** - * This function checks the supported languages list for a target language, - * This only supports RFC 4646 Languages. - * - * @param SupportedLanguages The supported languages - * @param TargetLanguage The target language - * - * @return Returns EFI_SUCCESS if the language is supported, - * EFI_UNSUPPORTED otherwise - */ + This function checks the supported languages list for a target language, + This only supports RFC 4646 Languages. + + @param SupportedLanguages The supported languages + @param TargetLanguage The target language + + @retval Returns EFI_SUCCESS if the language is supported, + EFI_UNSUPPORTED otherwise + +**/ EFI_STATUS EFIAPI IsLanguageSupported ( -- 2.18.0.windows.1