From: "Zhang, Shenglei" <shenglei.zhang@intel.com>
To: devel@edk2.groups.io
Cc: Hao A Wu <hao.a.wu@intel.com>, Ray Ni <ray.ni@intel.com>
Subject: [PATCH 1/3] MdeModulePkg/EhciPei: Initialize the variable Map
Date: Wed, 16 Oct 2019 09:46:46 +0800 [thread overview]
Message-ID: <20191016014648.4952-2-shenglei.zhang@intel.com> (raw)
In-Reply-To: <20191016014648.4952-1-shenglei.zhang@intel.com>
Map is used but not Initialized.
Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
---
MdeModulePkg/Bus/Pci/EhciPei/EhciUrb.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/MdeModulePkg/Bus/Pci/EhciPei/EhciUrb.c b/MdeModulePkg/Bus/Pci/EhciPei/EhciUrb.c
index 7c6a6a5f9716..995ccd2463d2 100644
--- a/MdeModulePkg/Bus/Pci/EhciPei/EhciUrb.c
+++ b/MdeModulePkg/Bus/Pci/EhciPei/EhciUrb.c
@@ -534,6 +534,8 @@ EhcCreateUrb (
PEI_URB *Urb;
VOID *Map;
+ Map = NULL;
+
Urb = Ehc->Urb;
Urb->Signature = EHC_URB_SIG;
InitializeListHead (&Urb->UrbList);
--
2.18.0.windows.1
next prev parent reply other threads:[~2019-10-16 1:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-16 1:46 [PATCH 0/3] MdeModulePkg: Initialize variables Zhang, Shenglei
2019-10-16 1:46 ` Zhang, Shenglei [this message]
2019-10-30 6:46 ` [PATCH 1/3] MdeModulePkg/EhciPei: Initialize the variable Map Wu, Hao A
2019-10-16 1:46 ` [PATCH 2/3] MdeModulePkg/UhciPei: Initialize the variable RequestMap Zhang, Shenglei
2019-10-30 6:46 ` Wu, Hao A
2019-10-16 1:46 ` [PATCH 3/3] MdeModulePkg/Mem: Initialize the variable MapMemory Zhang, Shenglei
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191016014648.4952-2-shenglei.zhang@intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox