From: "Dong, Eric" <eric.dong@intel.com>
To: "Chu, Maggie" <maggie.chu@intel.com>,
"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Cc: "Zhang, Chao B" <chao.b.zhang@intel.com>,
"Yao, Jiewen" <jiewen.yao@intel.com>
Subject: Re: [PATCH] SecurityPkg: Incorrect warning message for Opal admin revert action
Date: Tue, 8 Jan 2019 01:55:50 +0000 [thread overview]
Message-ID: <ED077930C258884BBCB450DB737E662259D86610@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <20181225055425.22216-1-maggie.chu@intel.com>
Hi Maggie,
Thanks for your patch. Reviewed-by: Eric Dong <eric.dong@intel.com>
Pushed the patch 4ec00f82edc845548a2000fe514c6898932b8c95
Thanks,
Eric
> -----Original Message-----
> From: Chu, Maggie
> Sent: Tuesday, December 25, 2018 1:54 PM
> To: edk2-devel@lists.01.org
> Cc: Zhang, Chao B <chao.b.zhang@intel.com>; Yao, Jiewen
> <jiewen.yao@intel.com>; Dong, Eric <eric.dong@intel.com>
> Subject: [PATCH] SecurityPkg: Incorrect warning message for Opal admin
> revert action
>
> https://bugzilla.tianocore.org/show_bug.cgi?id=1421
> "revert action will take long time..." warning should be removed from pop up
> message when keep user data selected.
>
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Maggie Chu <maggie.chu@intel.com>
> Cc: Chao Zhang <chao.b.zhang@intel.com>
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Cc: Eric Dong <eric.dong@intel.com>
> ---
> SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c
> b/SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c
> index e3f5056953..38268539fb 100644
> --- a/SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c
> +++ b/SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c
> @@ -1537,7 +1537,8 @@ ProcessOpalRequestRevert (
>
> PopUpString = OpalGetPopUpString (Dev, RequestString);
>
> - if (Dev->OpalDisk.EstimateTimeCost >
> MAX_ACCEPTABLE_REVERTING_TIME) {
> + if ((!KeepUserData) &&
> + (Dev->OpalDisk.EstimateTimeCost >
> MAX_ACCEPTABLE_REVERTING_TIME))
> + {
> BufferSize = StrSize (L"Warning: Revert action will take about #######
> seconds, DO NOT power off system during the revert action!");
> PopUpString2 = AllocateZeroPool (BufferSize);
> ASSERT (PopUpString2 != NULL);
> --
> 2.16.2.windows.1
prev parent reply other threads:[~2019-01-08 1:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-25 5:54 [PATCH] SecurityPkg: Incorrect warning message for Opal admin revert action Maggie Chu
2019-01-08 1:55 ` Dong, Eric [this message]
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=ED077930C258884BBCB450DB737E662259D86610@shsmsx102.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