mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 07:34:06 +02:00
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/BaseLib.h>
|
||||||
#include <Library/TimerLib.h>
|
#include <Library/TimerLib.h>
|
||||||
#include <Library/BaseMemoryLib.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.
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
#include <uefi.h>
|
#include <Uefi.h>
|
||||||
#include <Library/BaseLib.h>
|
#include <Library/BaseLib.h>
|
||||||
#include <Library/DebugLib.h>
|
#include <Library/DebugLib.h>
|
||||||
#include <Library/TcgStorageOpalLib.h>
|
#include <Library/TcgStorageOpalLib.h>
|
||||||
@ -853,8 +853,9 @@ OpalUtilDetermineOwnership(
|
|||||||
TCG_RESULT Ret;
|
TCG_RESULT Ret;
|
||||||
OPAL_OWNER_SHIP Owner;
|
OPAL_OWNER_SHIP Owner;
|
||||||
|
|
||||||
NULL_CHECK(Session);
|
if ((Session == NULL) || (Msid == NULL)) {
|
||||||
NULL_CHECK(Msid);
|
return OpalOwnershipUnknown;
|
||||||
|
}
|
||||||
|
|
||||||
Owner = OpalOwnershipUnknown;
|
Owner = OpalOwnershipUnknown;
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user