mirror of https://github.com/acidanthera/audk.git
Coding style checked
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7281 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
649e72d617
commit
b77d0076f9
|
@ -143,7 +143,7 @@ PcRtcInit (
|
|||
//
|
||||
Status = RtcWaitToUpdate (PcdGet32 (PcdRealTimeClockUpdateTimeout));
|
||||
if (EFI_ERROR (Status)) {
|
||||
//BugBug: the EfiAtRuntime should be encapsulated in EfiAcquireLock or
|
||||
//BugBug: the EfiAtRuntime should be encapsulated in EfiAcquireLock or
|
||||
// provide a new instance for EfiAcquireLock, say, RtEfiAcquireLock
|
||||
if (!EfiAtRuntime ()) {
|
||||
EfiReleaseLock (&Global->RtcLock);
|
||||
|
|
|
@ -367,7 +367,7 @@ FindVariable (
|
|||
UINT32 Count;
|
||||
UINT8 *VariableBase;
|
||||
|
||||
if (VariableName != 0 && VendorGuid == NULL) {
|
||||
if (VariableName != NULL && VendorGuid == NULL) {
|
||||
return EFI_INVALID_PARAMETER;
|
||||
}
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue