From: "Nickle Wang via groups.io" <nicklew=nvidia.com@groups.io>
To: Mike Maslenkin <mike.maslenkin@gmail.com>,
"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: Abner Chang <abner.chang@amd.com>, Igor Kulchytskyy <igork@ami.com>
Subject: Re: [edk2-devel] [PATCH] RedfishClientPkg: fix uninitialized variable build error
Date: Thu, 4 Jan 2024 12:32:34 +0000 [thread overview]
Message-ID: <MW4PR12MB7031408ED23DAE95E5759808D9672@MW4PR12MB7031.namprd12.prod.outlook.com> (raw)
In-Reply-To: <20240104115631.82653-1-mike.maslenkin@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1917 bytes --]
Reviewed-by: Nickle Wang <nicklew@nvidia.com<mailto:nicklew@nvidia.com>>
Regards,
Nickle
________________________________
From: Mike Maslenkin <mike.maslenkin@gmail.com>
Sent: Thursday, January 4, 2024 7:56 PM
To: devel@edk2.groups.io <devel@edk2.groups.io>
Cc: Mike Maslenkin <mike.maslenkin@gmail.com>; Abner Chang <abner.chang@amd.com>; Nickle Wang <nicklew@nvidia.com>; Igor Kulchytskyy <igork@ami.com>
Subject: [PATCH] RedfishClientPkg: fix uninitialized variable build error
External email: Use caution opening links or attachments
Variable 'Status' may be used uninitialized in this function
[-Werror=maybe-uninitialized]
Signed-off-by: Mike Maslenkin <mike.maslenkin@gmail.com>
Cc: Abner Chang <abner.chang@amd.com>
Cc: Nickle Wang <nicklew@nvidia.com>
Cc: Igor Kulchytskyy <igork@ami.com>
---
RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c b/RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c
index c0c3ec476f19..f2373b080c70 100644
--- a/RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c
+++ b/RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c
@@ -146,6 +146,7 @@ StartUpFeatureDriver (
}
ThisList = ThisFeatureDriverList;
+ Status = EFI_SUCCESS;
while (TRUE) {
if (ThisList->Callback != NULL) {
ThisList->InformationExchange = mInformationExchange;
--
2.32.0 (Apple Git-132)
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#113162): https://edk2.groups.io/g/devel/message/113162
Mute This Topic: https://groups.io/mt/103520603/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-
[-- Attachment #2: Type: text/html, Size: 3931 bytes --]
prev parent reply other threads:[~2024-01-04 12:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-04 11:56 [edk2-devel] [PATCH] RedfishClientPkg: fix uninitialized variable build error Mike Maslenkin
2024-01-04 12:32 ` Nickle Wang via groups.io [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=MW4PR12MB7031408ED23DAE95E5759808D9672@MW4PR12MB7031.namprd12.prod.outlook.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