summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTapan Shah <tapandshah@hpe.com>2016-04-27 07:55:39 -0700
committerHao Wu <hao.a.wu@intel.com>2016-07-13 20:43:07 +0800
commit0e6575928e2b1ca84bd1644f6204c98400fa38e6 (patch)
treef3d5b89dcdae161c293ccd7d711e0414c5a64c9e
parentfbe7c5b3f68b41b2e776d5ed94ad29ba4cf29361 (diff)
downloadedk2-platforms-0e6575928e2b1ca84bd1644f6204c98400fa38e6.tar.xz
ShellPkg: Fix typos and EDK2 coding style issues
Fixing typos and EDK2 coding style issues found from previous submit Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Tapan Shah <tapandshah@hpe.com> Reviewed-by: Samer El-Haj-Mahmoud <elhaj@hpe.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit a5b731e0850aa98bf1e635860016e913a6cbb808)
-rw-r--r--ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
index efafe6f535..58f1814b87 100644
--- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
+++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
@@ -348,7 +348,7 @@ GraphicsOutputProtocolDumpInformation(
@param[in] TheHandle The handle that has LoadedImage installed.
@param[in] Verbose TRUE for additional information, FALSE otherwise.
- @retval A poitner to a string containing the information.
+ @retval A pointer to a string containing the information.
**/
CHAR16*
EFIAPI
@@ -364,7 +364,7 @@ EdidDiscoveredProtocolDumpInformation (
CHAR16 *TempRetVal;
if (!Verbose) {
- return (CatSPrint(NULL, L"EDIDDiscovered"));
+ return (CatSPrint (NULL, L"EDIDDiscovered"));
}
Status = gBS->OpenProtocol (
@@ -380,7 +380,7 @@ EdidDiscoveredProtocolDumpInformation (
return NULL;
}
- Temp = HiiGetString (mHandleParsingHiiHandle, STRING_TOKEN(STR_EDID_DISCOVERED_MAIN), NULL);
+ Temp = HiiGetString (mHandleParsingHiiHandle, STRING_TOKEN (STR_EDID_DISCOVERED_MAIN), NULL);
if (Temp == NULL) {
return NULL;
}
@@ -388,8 +388,8 @@ EdidDiscoveredProtocolDumpInformation (
RetVal = CatSPrint (NULL, Temp, EdidDiscovered->SizeOfEdid);
SHELL_FREE_NON_NULL (Temp);
- if(EdidDiscovered->SizeOfEdid != 0) {
- Temp = HiiGetString (mHandleParsingHiiHandle, STRING_TOKEN(STR_EDID_DISCOVERED_DATA), NULL);
+ if (EdidDiscovered->SizeOfEdid != 0) {
+ Temp = HiiGetString (mHandleParsingHiiHandle, STRING_TOKEN (STR_EDID_DISCOVERED_DATA), NULL);
if (Temp == NULL) {
SHELL_FREE_NON_NULL (RetVal);
return NULL;
@@ -412,7 +412,7 @@ EdidDiscoveredProtocolDumpInformation (
@param[in] TheHandle The handle that has LoadedImage installed.
@param[in] Verbose TRUE for additional information, FALSE otherwise.
- @retval A poitner to a string containing the information.
+ @retval A pointer to a string containing the information.
**/
CHAR16*
EFIAPI
@@ -428,7 +428,7 @@ EdidActiveProtocolDumpInformation (
CHAR16 *TempRetVal;
if (!Verbose) {
- return (CatSPrint(NULL, L"EDIDActive"));
+ return (CatSPrint (NULL, L"EDIDActive"));
}
Status = gBS->OpenProtocol (
@@ -444,7 +444,7 @@ EdidActiveProtocolDumpInformation (
return NULL;
}
- Temp = HiiGetString (mHandleParsingHiiHandle, STRING_TOKEN(STR_EDID_ACTIVE_MAIN), NULL);
+ Temp = HiiGetString (mHandleParsingHiiHandle, STRING_TOKEN (STR_EDID_ACTIVE_MAIN), NULL);
if (Temp == NULL) {
return NULL;
}
@@ -452,8 +452,8 @@ EdidActiveProtocolDumpInformation (
RetVal = CatSPrint (NULL, Temp, EdidActive->SizeOfEdid);
SHELL_FREE_NON_NULL (Temp);
- if(EdidActive->SizeOfEdid != 0) {
- Temp = HiiGetString (mHandleParsingHiiHandle, STRING_TOKEN(STR_EDID_ACTIVE_DATA), NULL);
+ if (EdidActive->SizeOfEdid != 0) {
+ Temp = HiiGetString (mHandleParsingHiiHandle, STRING_TOKEN (STR_EDID_ACTIVE_DATA), NULL);
if (Temp == NULL) {
SHELL_FREE_NON_NULL (RetVal);
return NULL;