From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id A6E1A740037 for ; Wed, 1 Nov 2023 13:33:23 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=sXgU/mskH92r24QFXkLeJt0Zvv8BhgSTLytf47VqHqg=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:msip_labels:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1698845602; v=1; b=dz498Y382HniICEOs90dqcBT8KK2AiCbLTyXrJgrCdb3E29DsqedrRIRDKjVrNpSyVxyWDDk CDcdq/8gUdCv+4zVDoVll/CWqwe7pDDgkEV03s66vcm8QRtFTXnEySKYaMPFYhtC3/E/87j/kVu 0ztqAqrkt97x7IY0exIG576c= X-Received: by 127.0.0.2 with SMTP id HrQnYY7687511xeKSXmySBbk; Wed, 01 Nov 2023 06:33:22 -0700 X-Received: from NAM02-BN1-obe.outbound.protection.outlook.com (NAM02-BN1-obe.outbound.protection.outlook.com [40.107.212.77]) by mx.groups.io with SMTP id smtpd.web10.7399.1698845601140691216 for ; Wed, 01 Nov 2023 06:33:21 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PX0zska+9uMdxahmbIhRQpvL9Oxre+MMxQOPW1t3ROO1B3qj8tq9p+o/0aJqBSFMDiz8g8yz8iWcJTtAhvPcHBpKpO1rX7zmnnrLBs0Je8mDJMLUUeg54gR0oJbh+TqUz4kzr3hvk7d9tVy6/C1w1cPtPLkBJ32PGJwAU/SqbP3C6LmxEd4tbYqe1KapeGowmA92dTt9RbnY4RdG38CNQCbr6LMXW6RBZMEAN6zht1S6De7rdJ4sWsQGJyjqDJOEocdM2XNX8YfFKncNv3qqFSARBshB3/3/9yHM5+DoZGqPZzfZlzyRWmnyhL0zhARTFII98Jle8WCWEsG/sXsmKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=yVRrKnR8B8f1suzPpnEWrAJAvwlRyNfM2OsHlPA1iGw=; b=aKYvsge3sf+bnhdEiT8XtED4bSWA4EjPha3jWQPPpNZLAmoZM3VvKwsC/gwYbhiMLX4HUougIYMnvbc0302J8BPagnbQbAnfaC1LeNaFPMiaLEAKVF5f3vtQBJiDddnCm322MaI9dfjExZfuo8I/5AQiS+Z99VDDB0y5GlcICnw1N9QA/6GobkEucypA6i9AeULX06yOJ9FztVrqeN/rC+DyoxlFZugFClbLug0uKRNZrWhlf58SZliUv9AFyfftQuFIJk/Z8CTrLW7qPJ1JFv4piXXC+8fN3m+e+1LfKT9J797r5apvPtKPleoczYrTeCBFhU+JbOpif9LdwK52tg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none X-Received: from MN2PR12MB3966.namprd12.prod.outlook.com (2603:10b6:208:165::18) by LV8PR12MB9110.namprd12.prod.outlook.com (2603:10b6:408:18b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.29; Wed, 1 Nov 2023 13:33:17 +0000 X-Received: from MN2PR12MB3966.namprd12.prod.outlook.com ([fe80::e670:e45f:fa32:2420]) by MN2PR12MB3966.namprd12.prod.outlook.com ([fe80::e670:e45f:fa32:2420%7]) with mapi id 15.20.6954.019; Wed, 1 Nov 2023 13:33:17 +0000 From: "Chang, Abner via groups.io" To: Nickle Wang , "devel@edk2.groups.io" CC: Igor Kulchytskyy , Nick Ramirez Subject: Re: [edk2-devel] [edk2-redfish-client][PATCH 1/3] RedfishClientPkg/RedfishETagDxe: fix uninitialized variable issue Thread-Topic: [edk2-redfish-client][PATCH 1/3] RedfishClientPkg/RedfishETagDxe: fix uninitialized variable issue Thread-Index: AQHaC84tiGBwpC9WfEmMJMqPnJkh9LBleEHQ Date: Wed, 1 Nov 2023 13:33:17 +0000 Message-ID: References: <20231031074449.23491-1-nicklew@nvidia.com> In-Reply-To: <20231031074449.23491-1-nicklew@nvidia.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ActionId=11b3d4d0-a85b-467b-9f01-5bcbfbe9d6c7;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ContentBits=0;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Enabled=true;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Method=Standard;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Name=General;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SetDate=2023-11-01T13:33:00Z;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MN2PR12MB3966:EE_|LV8PR12MB9110:EE_ x-ms-office365-filtering-correlation-id: 3e045906-edbb-4251-294c-08dbdadf1b57 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: FpW/yD6O6BzMeKIWJjK9y3iwhC2SGZKPKZCMMaTBHks8ZrWzASWHyqwR/JpEj2roNDXz5l2F6gmdU+LIgAcBUXqP+CCuyKQHcgWeqEzQQMxEJekVX+Hct/JBrTkJCHDms0pi+UoF6UwYr0Dw995NVJkiVt/ZMXvGFkQAvtwchCMDrJIpXo1D4MZt6vGaf9YPN1gfGCrUdxZLTM2zOrnaY7W6Qsprvx5O3VqJLeCWwNFbslTKt62z5uZInlnfh2xEwSom0F8NmD0orAB2A4wGqAU0veTKp6vOZHzZQDNyALfro47JeTEDu5SxqPpeOSwv1dd3HJ0EXb7ZylBnkEa1/YiqIuTeqe/pI092SVQHYtm1DUNhRDevgX1vDQKGpoe79kzWrP/9lp8t5zrpuxIv7AD96zfDI0hB5kBtsgiWlxAxtOKonPKav89XGUQ7v4MLTfpBxZypJe7+xX4sgpKL9230x+dcCZLi73iR8t6F5gS6FlwnEK+lhu1E+kTmfPxAGxB2ytSkhIGy9bTUwRQOq+otCQV9OrHQRT48FkouetXenZ6tb96z5ii6ZHCQojr1CUrjnH4U6Xowll5f09x2xbrkMh7w0XYV7SULRL9fMixFeiMFHweMgJNiWVLr66RzQX9gYPj53qM1U/ifvfKjZeNMpGTcwxPpuHBLtZVLtAs= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?t8MbsRGFyq7RQFmu+KmZXIfmemlj5pI3/JQrRgvA1iI5xDCh/+8ZAS38Sn4j?= =?us-ascii?Q?dUCkaD2cveJ78x1sX4mc3NkVLHpEX5EYnuen7lgOoQF/pxhvHidoFz0CGS6K?= =?us-ascii?Q?78X2PITdcNVsAVrfiw+U5fwtudOLelDwiQRZN4PqV2Lq8bEs4XQQJz0G34/g?= =?us-ascii?Q?LO32ev3ftT7Qb06dgGGSb7W0CLfGRUpMAzma4mjIbsaKe9U9hLSNwLFuGv9V?= =?us-ascii?Q?ylV4uNimSj+SmNkjRL1wZsfrq+WfNH0+X+og8R4cvtPtWI6sYfoS+6wFIza9?= =?us-ascii?Q?hZ5EYympgDDOuvtwuFFvg3u/RRfCOlplYB/q3WezBXmq+jfW1PCREQYxFVoW?= =?us-ascii?Q?qNeQ3a44Wuswzo98ljKG+vOTb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fnHcpBEech8QR+MDHneLD75fXdagSnw+FdlHuPeKf9msG6TNkUgBJ2O5kRX?= =?us-ascii?Q?AzA4pYSGpS3QOu7WXvOieISOkgJgtcRuy/G/Y5ifxGk0gZh4grkfbj4CzjYr?= =?us-ascii?Q?DZWIz9zPluygEHgfuV6ReJHXd9i3el38Y/2cUF6tU3bbCtiSveoPPrBIywf1?= =?us-ascii?Q?QAVww5iccBeyV1aOm7anEwA6bLBBPeQnsDEjwsiKsXWA/jRELXj82ff2Po/y?= =?us-ascii?Q?okzu1WzOWgB78Yr3cZgGfnk0CZTKhq9XYWwB1y53qbBrhzcS3plTEM7jgclb?= =?us-ascii?Q?bRYuZK2y7kCVMQ0+x5U=3D?= MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR12MB3966.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3e045906-edbb-4251-294c-08dbdadf1b57 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Nov 2023 13:33:17.4225 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: heD2zmTtgti914I231oNAKt9HYjXrcWV0IllmYtXKVDQBUqAvX9KKudvMoAK53P7lR6LjAqwuD7UfM04bVeIbQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV8PR12MB9110 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,abner.chang@amd.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: LBywl4jZARRfg3078vI2G5Yzx7686176AA= Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=dz498Y38; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") [AMD Official Use Only - General] Reviewed-by: Abner Chang > -----Original Message----- > From: Nickle Wang > Sent: Tuesday, October 31, 2023 3:45 PM > To: devel@edk2.groups.io > Cc: Chang, Abner ; Igor Kulchytskyy > ; Nick Ramirez > Subject: [edk2-redfish-client][PATCH 1/3] RedfishClientPkg/RedfishETagDxe= : > fix uninitialized variable issue > > Caution: This message originated from an External Source. Use proper caut= ion > when opening attachments, clicking links, or responding. > > > Status variable is not initialized. > > Signed-off-by: Nickle Wang > Cc: Abner Chang > Cc: Igor Kulchytskyy > Cc: Nick Ramirez > --- > RedfishClientPkg/RedfishETagDxe/RedfishETagDxe.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/RedfishClientPkg/RedfishETagDxe/RedfishETagDxe.c > b/RedfishClientPkg/RedfishETagDxe/RedfishETagDxe.c > index a892ced9..f731d39d 100644 > --- a/RedfishClientPkg/RedfishETagDxe/RedfishETagDxe.c > +++ b/RedfishClientPkg/RedfishETagDxe/RedfishETagDxe.c > @@ -1,7 +1,7 @@ > /** @file > > (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP
> - Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserv= ed. > + Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights > reserved. > > SPDX-License-Identifier: BSD-2-Clause-Patent > > @@ -728,6 +728,7 @@ RedfishETagDriverEntryPoint ( > InitializeListHead (&mRedfishETagPrivate->ETagList.Listheader); > mRedfishETagPrivate->VariableName =3D AllocateCopyPool (StrSize > (ETAG_VARIABLE_NAME), ETAG_VARIABLE_NAME); > if (mRedfishETagPrivate->VariableName =3D=3D NULL) { > + Status =3D EFI_OUT_OF_RESOURCES; > goto ON_ERROR; > } > > -- > 2.17.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#110481): https://edk2.groups.io/g/devel/message/110481 Mute This Topic: https://groups.io/mt/102293046/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-