mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
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
1 changed files with 4 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue