mirror of https://github.com/acidanthera/audk.git
MdeModulePkg/AtaAtapiPassThru: Fix VS2010/VS2012 build failure
The patch doesn't have functionality impact. It is just to make VS2010/VS2012 happy. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Dandan Bi <dandan.bi@intel.com>
This commit is contained in:
parent
73ae70db0f
commit
4e738cd408
|
@ -2381,7 +2381,7 @@ AhciEnableDevSlp (
|
|||
//
|
||||
// Assume DEVSLP TIMING VARIABLES is not supported if the Identify Device Data log (30h, 8) fails
|
||||
//
|
||||
DevSlpTiming.Supported = 0;
|
||||
ZeroMem (&DevSlpTiming, sizeof (DevSlpTiming));
|
||||
} else {
|
||||
CopyMem (&DevSlpTiming, &LogData[48], sizeof (DevSlpTiming));
|
||||
DEBUG ((DEBUG_INFO, "DevSlpTiming: Supported(%d), Deto(%d), Madt(%d)\n",
|
||||
|
|
Loading…
Reference in New Issue