public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Liming Gao" <liming.gao@intel.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>,
	"Zhang, Shenglei" <shenglei.zhang@intel.com>
Cc: "Kubacki, Michael A" <michael.a.kubacki@intel.com>,
	"Chaganty, Rangasai V" <rangasai.v.chaganty@intel.com>
Subject: Re: [edk2-devel] [PATCH] AdvancedFeaturePkg/BmcElog: Initialize ClearSelResponse
Date: Mon, 16 Sep 2019 05:11:51 +0000	[thread overview]
Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E4F847F@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <20190902120514.18028-2-shenglei.zhang@intel.com>

Reviewed-by: Liming Gao <liming.gao@intel.com>

>-----Original Message-----
>From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of
>Zhang, Shenglei
>Sent: Monday, September 02, 2019 8:05 PM
>To: devel@edk2.groups.io
>Cc: Kubacki, Michael A <michael.a.kubacki@intel.com>; Chaganty, Rangasai V
><rangasai.v.chaganty@intel.com>; Gao, Liming <liming.gao@intel.com>
>Subject: [edk2-devel] [PATCH] AdvancedFeaturePkg/BmcElog: Initialize
>ClearSelResponse
>
>The structure ClearSelResponse is uninitialized before used.
>
>Cc: Michael Kubacki <michael.a.kubacki@intel.com>
>Cc: Sai Chaganty <rangasai.v.chaganty@intel.com>
>Cc: Liming Gao <liming.gao@intel.com>
>Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
>---
> Platform/Intel/AdvancedFeaturePkg/Ipmi/BmcElog/BmcElog.c | 1 +
> 1 file changed, 1 insertion(+)
>
>diff --git a/Platform/Intel/AdvancedFeaturePkg/Ipmi/BmcElog/BmcElog.c
>b/Platform/Intel/AdvancedFeaturePkg/Ipmi/BmcElog/BmcElog.c
>index 421fbdec..73373534 100644
>--- a/Platform/Intel/AdvancedFeaturePkg/Ipmi/BmcElog/BmcElog.c
>+++ b/Platform/Intel/AdvancedFeaturePkg/Ipmi/BmcElog/BmcElog.c
>@@ -59,6 +59,7 @@ Returns:
>   IPMI_CLEAR_SEL_RESPONSE  ClearSelResponse;
>
>   Counter   = 0x200;
>+  ZeroMem (&ClearSelResponse, sizeof(ClearSelResponse));
>
>   while (TRUE) {
>     ZeroMem (&ClearSel, sizeof(ClearSel));
>--
>2.18.0.windows.1
>
>
>


  reply	other threads:[~2019-09-16  5:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-02 12:05 [PATCH] AdvancedFeaturePkg/BmcElog: Change arithmetic logic Zhang, Shenglei
2019-09-02 12:05 ` [PATCH] AdvancedFeaturePkg/BmcElog: Initialize ClearSelResponse Zhang, Shenglei
2019-09-16  5:11   ` Liming Gao [this message]
2019-09-16  5:11 ` [edk2-devel] [PATCH] AdvancedFeaturePkg/BmcElog: Change arithmetic logic Liming Gao

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=4A89E2EF3DFEDB4C8BFDE51014F606A14E4F847F@SHSMSX104.ccr.corp.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