From 677fdb90fae88a7edd284da3397ca61d9933879d Mon Sep 17 00:00:00 2001 From: vanjeff Date: Thu, 8 Jan 2009 08:46:31 +0000 Subject: ECC clean up. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7213 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'MdeModulePkg/Universal/Console/TerminalDxe') 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. **/ -- cgit v1.1