summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/Console/TerminalDxe
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-01-08 08:46:31 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-01-08 08:46:31 +0000
commit677fdb90fae88a7edd284da3397ca61d9933879d (patch)
tree3aebb9be0cab5718fd199268f127a607902f8bb4 /MdeModulePkg/Universal/Console/TerminalDxe
parenta72edceb9a391df5d0a13e0898ad01e05aca8921 (diff)
downloadedk2-677fdb90fae88a7edd284da3397ca61d9933879d.zip
edk2-677fdb90fae88a7edd284da3397ca61d9933879d.tar.gz
edk2-677fdb90fae88a7edd284da3397ca61d9933879d.tar.bz2
ECC clean up.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7213 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Console/TerminalDxe')
-rw-r--r--MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c b/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c
index f39cbcd..2e8ea67 100644
--- a/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c
+++ b/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c
@@ -104,7 +104,7 @@ TERMINAL_DEV mTerminalDevTemplate = {
};
/**
- Test to see if this driver supports Controller.
+ Test to see if this driver supports Controller.
@param This Protocol instance pointer.
@param Controller Handle of device to test
@@ -342,7 +342,7 @@ TerminalDriverBindingStart (
if (!EFI_ERROR (Status)) {
Status = EFI_SUCCESS;
for (Index = 0; Index < EntryCount; Index++) {
- if (OpenInfoBuffer[Index].Attributes & EFI_OPEN_PROTOCOL_BY_CHILD_CONTROLLER) {
+ if ((OpenInfoBuffer[Index].Attributes & EFI_OPEN_PROTOCOL_BY_CHILD_CONTROLLER) != 0) {
Status = EFI_ALREADY_STARTED;
}
}
@@ -728,7 +728,7 @@ Error:
/**
Stop this driver on Controller by closing Simple Text In, Simple Text
In Ex, Simple Text Out protocol, and removing parent device path from
- Console Device Environment Variables.
+ Console Device Environment Variables.
@param This Protocol instance pointer.
@param Controller Handle of device to stop driver on
@@ -1141,7 +1141,7 @@ TerminalRemoveConsoleDevVariable (
@param VariableSize Returns the size of the EFI variable that was read
@return Dynamically allocated memory that contains a copy of the EFI variable.
- Caller is responsible freeing the buffer. If variable was not read,
+ Caller is responsible freeing the buffer. If variable was not read,
NULL returned.
**/