diff options
author | jji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-01-15 03:30:05 +0000 |
---|---|---|
committer | jji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-01-15 03:30:05 +0000 |
commit | b77d0076f9379fc82499408d52eee702d2b29599 (patch) | |
tree | 1d5d77384cafe78b2267cc7426c76df6f9e5574a /MdeModulePkg/Universal | |
parent | 649e72d617d5732aa9df5552898a895f132036ca (diff) | |
download | edk2-b77d0076f9379fc82499408d52eee702d2b29599.zip edk2-b77d0076f9379fc82499408d52eee702d2b29599.tar.gz edk2-b77d0076f9379fc82499408d52eee702d2b29599.tar.bz2 |
Coding style checked
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7281 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal')
-rw-r--r-- | MdeModulePkg/Universal/PcatRealTimeClockRuntimeDxe/PcRtc.c | 2 | ||||
-rw-r--r-- | MdeModulePkg/Universal/Variable/Pei/Variable.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/PcatRealTimeClockRuntimeDxe/PcRtc.c b/MdeModulePkg/Universal/PcatRealTimeClockRuntimeDxe/PcRtc.c index 18ed9f0..88faa0e 100644 --- a/MdeModulePkg/Universal/PcatRealTimeClockRuntimeDxe/PcRtc.c +++ b/MdeModulePkg/Universal/PcatRealTimeClockRuntimeDxe/PcRtc.c @@ -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);
diff --git a/MdeModulePkg/Universal/Variable/Pei/Variable.c b/MdeModulePkg/Universal/Variable/Pei/Variable.c index a8132d6..d778fde 100644 --- a/MdeModulePkg/Universal/Variable/Pei/Variable.c +++ b/MdeModulePkg/Universal/Variable/Pei/Variable.c @@ -367,7 +367,7 @@ FindVariable ( UINT32 Count;
UINT8 *VariableBase;
- if (VariableName != 0 && VendorGuid == NULL) {
+ if (VariableName != NULL && VendorGuid == NULL) {
return EFI_INVALID_PARAMETER;
}
//
|