From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web12.2696.1641618765681841752 for ; Fri, 07 Jan 2022 21:12:45 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=E7ELNlIO; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=000704d8ca=abner.chang@hpe.com) Received: from pps.filterd (m0150245.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 2084h7uA022485 for ; Sat, 8 Jan 2022 05:12:44 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pps0720; bh=6FAHXK6G3B8Gh+swZ86JN9o4VsOE/AOb9zVlCrB2T1A=; b=E7ELNlIO5aFZm8C+mq8cBYq+NF3mGIZvK9PD8ApaJ4Y1CwFw9vx8QZhmYuVcFibD3xMT /XA2zA/h/x1cv9W9QoZF7XR5Y3SZuipkWs9xEyOJSsaX03bxplbTzi/zKEGYgiWJsQX1 anqyq02ylkH8GtGaFacEGnrRInRCntMfYHkzL8dwKTlF2dGE7bSGrrYkh3TfjzVLvvU0 OV9JZy/yAcLmWJu+6qcY/8+3junVD5vkp5PWO9TXO6wmFMzEmaDFM0WYE83tj3XZn647 TWFHMBkirzc8wp8OnzXGncFnIZwZGV80zSkBxjHcV2V9LXzIwjN213cp+ChvMX9yQJSH tw== Received: from g2t2352.austin.hpe.com (g2t2352.austin.hpe.com [15.233.44.25]) by mx0b-002e3701.pphosted.com (PPS) with ESMTPS id 3df3tfg4bp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sat, 08 Jan 2022 05:12:44 +0000 Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2352.austin.hpe.com (Postfix) with ESMTP id 4638963 for ; Sat, 8 Jan 2022 05:12:44 +0000 (UTC) Received: from UB16Abner.asiapacific.hpqcorp.net (ub16abner.asiapacific.hpqcorp.net [15.119.209.229]) by g2t2360.austin.hpecorp.net (Postfix) with ESMTP id 8E18239; Sat, 8 Jan 2022 05:12:43 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: abner.chang@hpe.com Subject: [PATCH 23/79] Silicon/RISC-V: Update old SMBIOS struct filed name Date: Sat, 8 Jan 2022 12:10:43 +0800 Message-Id: <20220108041121.16005-22-abner.chang@hpe.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220108041121.16005-1-abner.chang@hpe.com> References: <20220108041121.16005-1-abner.chang@hpe.com> MIME-Version: 1.0 X-Proofpoint-GUID: W6EUOSJorvbjNIkODo_awag6D8vWOPqY X-Proofpoint-ORIG-GUID: W6EUOSJorvbjNIkODo_awag6D8vWOPqY X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-01-08_01,2022-01-07_01,2021-12-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 malwarescore=0 phishscore=0 spamscore=0 mlxscore=0 lowpriorityscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 clxscore=1015 priorityscore=1501 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2201080036 Content-Transfer-Encoding: quoted-printable (This is migrated from edk2-platforms:Silicon) The "ProcessorManufacture" field of SMBIOS_TABLE_TYPE4 was recently renamed to "ProcessorManufacturer". This is causing a compilation error for RISC-V/SiFive builds. Switch to the new name. Cc: Leif Lindholm Cc: Abner Chang Cc: Daniel Schaefer Cc: Gilbert Chen Signed-off-by: Mark Salter Reviewed-by: Abner Chang --- .../RISC-V/ProcessorPkg/Universal/SmbiosDxe/RiscVSmbiosDxe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Silicon/RISC-V/ProcessorPkg/Universal/SmbiosDxe/RiscVSmbiosDxe= .c b/Silicon/RISC-V/ProcessorPkg/Universal/SmbiosDxe/RiscVSmbiosDxe.c index 6079513a55..b30f9d7f6a 100644 --- a/Silicon/RISC-V/ProcessorPkg/Universal/SmbiosDxe/RiscVSmbiosDxe.c +++ b/Silicon/RISC-V/ProcessorPkg/Universal/SmbiosDxe/RiscVSmbiosDxe.c @@ -142,7 +142,7 @@ BuildSmbiosType4 ( DEBUG ((DEBUG_VERBOSE, " Socket StringID: %d\n", Type4HobData->Smbio= sType4Processor.Socket));=0D DEBUG ((DEBUG_VERBOSE, " Processor Type: 0x%x\n", Type4HobData->Smbi= osType4Processor.ProcessorType));=0D DEBUG ((DEBUG_VERBOSE, " Processor Family: 0x%x\n", Type4HobData->Sm= biosType4Processor.ProcessorFamily));=0D - DEBUG ((DEBUG_VERBOSE, " Processor Manufacture StringID: %d\n", Type= 4HobData->SmbiosType4Processor.ProcessorManufacture));=0D + DEBUG ((DEBUG_VERBOSE, " Processor Manufacture StringID: %d\n", Type= 4HobData->SmbiosType4Processor.ProcessorManufacturer));=0D DEBUG ((DEBUG_VERBOSE, " Processor Id: 0x%x:0x%x\n", \=0D Type4HobData->SmbiosType4Processor.ProcessorId.Signature, Type4H= obData->SmbiosType4Processor.ProcessorId.FeatureFlags));=0D DEBUG ((DEBUG_VERBOSE, " Processor Version StringID: %d\n", Type4Hob= Data->SmbiosType4Processor.ProcessorVersion));=0D --=20 2.31.1