mirror of https://github.com/acidanthera/audk.git
MdeModulePkg/NvmExpressDxe: Fix an issue of potential uninitialized local variable
Signed-off-by: Feng Tian <feng.tian@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14695 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
15d73df950
commit
d45c8c30f6
|
@ -842,8 +842,10 @@ NvmeControllerInit (
|
|||
//
|
||||
// set number of entries admin submission & completion queues.
|
||||
//
|
||||
Aqa.Asqs = NVME_ASQ_SIZE;
|
||||
Aqa.Acqs = NVME_ACQ_SIZE;
|
||||
Aqa.Asqs = NVME_ASQ_SIZE;
|
||||
Aqa.Rsvd1 = 0;
|
||||
Aqa.Acqs = NVME_ACQ_SIZE;
|
||||
Aqa.Rsvd2 = 0;
|
||||
|
||||
//
|
||||
// Address of admin submission queue.
|
||||
|
|
Loading…
Reference in New Issue