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 3E914740038 for ; Tue, 19 Dec 2023 06:10:03 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=+UkgG5vwe3eoqNd2TUh2WQop82oIJIpnQoWYB9CujaA=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1702966201; v=1; b=UeatixTj8hzeAi8gGDURjZ+4p+5eExON9JoiqCTpjR++L826w5VjDVmwKBNWmJu2dWiGWWCD mCME6vf5OEbDly1nHXOU8BdJj6x7lnlb2WVytH5XcgKpXXweYyNhzGxhz1iGe/ZKI+RUPePAsGp DQFFPuF6itY0+V5Z+dlRYrtU= X-Received: by 127.0.0.2 with SMTP id JX7rYY7687511xZFuUEmAUuS; Mon, 18 Dec 2023 22:10:01 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) by mx.groups.io with SMTP id smtpd.web11.6615.1702966200671988589 for ; Mon, 18 Dec 2023 22:10:01 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10928"; a="2464269" X-IronPort-AV: E=Sophos;i="6.04,287,1695711600"; d="scan'208";a="2464269" X-Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Dec 2023 22:10:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10928"; a="894148979" X-IronPort-AV: E=Sophos;i="6.04,287,1695711600"; d="scan'208";a="894148979" X-Received: from lixiahua-desk2.ccr.corp.intel.com ([10.239.55.96]) by fmsmga002.fm.intel.com with ESMTP; 18 Dec 2023 22:09:59 -0800 From: "Huang, Li-Xia" To: devel@edk2.groups.io Cc: Abner Chang , Nate DeSimone Subject: [edk2-devel] [PATCH v1 2/2] IpmiFeaturePkg/GenericIpmi: Fix GCC compiler error Date: Tue, 19 Dec 2023 14:09:58 +0800 Message-Id: <20231219060958.1304-1-lisa.huang@intel.com> MIME-Version: 1.0 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,lisa.huang@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: xmF8wmp9WtafsiRN8SwXBe2vx7686176AA= Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=UeatixTj; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=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 Fix GCC compiler error in StandaloneMmGenericIpmi. Cc: Abner Chang Cc: Nate DeSimone Signed-off-by: Lixia Huang --- Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericIpmi/StandaloneMm/StandaloneMmGenericIpmi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericIpmi/StandaloneMm/StandaloneMmGenericIpmi.c b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericIpmi/StandaloneMm/StandaloneMmGenericIpmi.c index 1b9841e4b745..edc9eec9395a 100644 --- a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericIpmi/StandaloneMm/StandaloneMmGenericIpmi.c +++ b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericIpmi/StandaloneMm/StandaloneMmGenericIpmi.c @@ -185,12 +185,10 @@ Returns: **/ { EFI_STATUS Status; - UINT8 ErrorCount; IPMI_INTERFACE_STATE InterfaceState; UINT8 Index; DEBUG ((DEBUG_INFO, "SmmInitializeIpmiKcsPhysicalLayer entry \n")); - ErrorCount = 0; InterfaceState = IpmiInterfaceNotReady; Status = gMmst->MmAllocatePool ( -- 2.26.2.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#112691): https://edk2.groups.io/g/devel/message/112691 Mute This Topic: https://groups.io/mt/103258537/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-