mirror of https://github.com/acidanthera/audk.git
SecurityPkg TcgStorageOpalLib: Fixed gcc build failure.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com>
This commit is contained in:
parent
b4ddf0eb49
commit
59ed6433dd
|
@ -12,7 +12,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||
|
||||
**/
|
||||
|
||||
#include <uefi.h>
|
||||
#include <Uefi.h>
|
||||
#include <Library/BaseLib.h>
|
||||
#include <Library/TimerLib.h>
|
||||
#include <Library/BaseMemoryLib.h>
|
||||
|
|
|
@ -11,7 +11,7 @@ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
**/
|
||||
#include <uefi.h>
|
||||
#include <Uefi.h>
|
||||
#include <Library/BaseLib.h>
|
||||
#include <Library/DebugLib.h>
|
||||
#include <Library/TcgStorageOpalLib.h>
|
||||
|
@ -853,8 +853,9 @@ OpalUtilDetermineOwnership(
|
|||
TCG_RESULT Ret;
|
||||
OPAL_OWNER_SHIP Owner;
|
||||
|
||||
NULL_CHECK(Session);
|
||||
NULL_CHECK(Msid);
|
||||
if ((Session == NULL) || (Msid == NULL)) {
|
||||
return OpalOwnershipUnknown;
|
||||
}
|
||||
|
||||
Owner = OpalOwnershipUnknown;
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue