From: Tian, Feng Date: Mon, 29 Feb 2016 05:12:38 +0000 (+0800) Subject: MdeModulePkg/NvmExpress: Fix uninitialized field used in NVMe DiskInfo X-Git-Tag: edk2-stable201903~7760 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=d2a2678b1c58e24bde44fed720b185b79984866c MdeModulePkg/NvmExpress: Fix uninitialized field used in NVMe DiskInfo Cc: Star Zeng Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Feng Tian Reviewed-by: Star Zeng --- diff --git a/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpress.c b/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpress.c index 9938bf4541..c379e178e1 100644 --- a/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpress.c +++ b/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpress.c @@ -2,7 +2,7 @@ NvmExpressDxe driver is used to manage non-volatile memory subsystem which follows NVM Express specification. - Copyright (c) 2013 - 2015, Intel Corporation. All rights reserved.
+ Copyright (c) 2013 - 2016, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -163,6 +163,7 @@ EnumerateNvmeDevNamespace ( // // Create DiskInfo Protocol instance // + CopyMem (&Device->NamespaceData, NamespaceData, sizeof (NVME_ADMIN_NAMESPACE_DATA)); InitializeDiskInfo (Device); //