From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (NAM12-BN8-obe.outbound.protection.outlook.com [40.107.237.136]) by mx.groups.io with SMTP id smtpd.web10.21110.1683269190653899322 for ; Thu, 04 May 2023 23:46:30 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@os.amperecomputing.com header.s=selector2 header.b=Nqo7Cunb; spf=pass (domain: os.amperecomputing.com, ip: 40.107.237.136, mailfrom: minhnguyen1@os.amperecomputing.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JLL+2BFBz9m3PTIRe4s22l6fw9qlEUBGKxue7VDFSLd2JHa2ujNjOp9DIdQ/jRjW3bZ0oIHqYPY9jxPvG0D1Jppp4PKsJnSrIcg0Hn+0+B+pItws8bP/CMgp/jZV6+QGykonNLPNsBNXjdiT57HUJ43eMEX5LkRwxs9+5zp4+4kHYNAY4+swhIng1VuQY11j0ndAMUDndUnAobmhew9mjRSHSYmEa8Z3AX8/xcxSF4S54curP6cPgyz5PjdS1upFLhzIQo3kHufAcZsH9Je2Z/0ECST6tCmMB5WXXV6yWZAJsb9rlvP7NuegLSWv2K9QdTM553pg7KSsj2+alMYcYA== 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=NEPjqb81A5+NgYo7ZbuBD1Gd/yopOnW9ydnHOj6W7wA=; b=NisWTRYEQMq8OvCSmDZh+0B8u74Q/UYFIczxGyJWeUihN5wdpqM/bMcKGJxa0wthu4JcTdu+2QrBAnSWS3vty3w60B0Ji+PsG584Pk76k9TWj/t8Gc2/Pj81rTs90bdNToC9vk8ZAonYZQi0bm2/P1zu8kn2/Z5B2hdfe4S33LrzbNSXBt5JVNpbeXJs854kpvnhQ/EYN2JgK7Elk+NKyu46ysgydwjHIi7qZ3j37Oa6wto57OzsP095QwwUD8zxiaUi5ArGVWtUnxz90dLholwJ5OE6D9ZwjJQdQ6dAy5QBXDAB0TFPuZuxZ0rJzDUU7cbZdGbY48v0BMoIk5n/CA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NEPjqb81A5+NgYo7ZbuBD1Gd/yopOnW9ydnHOj6W7wA=; b=Nqo7CunbCrk8t0BbTGijxRwwr8VlM+Mqee12U8BggODyafCywAuwNeAGrsT3/1bCnMqpi1HELmauVAbql5ECUDzT9yw+/VzoZ0iAcv5lwA+OUukVD0FnRpd3ySiphhBWUPTV7CUlReHe+IdA26qylwgMHdvHZFlAfgoCst9cfxA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from PH0PR01MB8048.prod.exchangelabs.com (2603:10b6:510:280::7) by SN6PR01MB5087.prod.exchangelabs.com (2603:10b6:805:b8::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.26; Fri, 5 May 2023 06:46:28 +0000 Received: from PH0PR01MB8048.prod.exchangelabs.com ([fe80::bbdb:b58c:140e:c4e1]) by PH0PR01MB8048.prod.exchangelabs.com ([fe80::bbdb:b58c:140e:c4e1%7]) with mapi id 15.20.6363.026; Fri, 5 May 2023 06:46:27 +0000 From: minhnampere To: devel@edk2.groups.io CC: patches@amperecomputing.com, abner.chang@amd.com, nicklew@nvidia.com, igork@ami.com, nhi@os.amperecomputing.com, tinhnguyen@os.amperecomputing.com, minhnampere Subject: [PATCH V3 0/5] Adding necessary changes for RedfishPkg Date: Fri, 5 May 2023 13:45:55 +0700 Message-ID: <20230505064600.1478461-1-minhnguyen1@os.amperecomputing.com> X-Mailer: git-send-email 2.39.0 X-ClientProxiedBy: SG3P274CA0005.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:be::17) To PH0PR01MB8048.prod.exchangelabs.com (2603:10b6:510:280::7) Return-Path: minhnguyen1@os.amperecomputing.com MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR01MB8048:EE_|SN6PR01MB5087:EE_ X-MS-Office365-Filtering-Correlation-Id: c924ca73-f0f9-412e-778c-08db4d347302 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Yh3t3WG6wp+6ER9oVVhMBeq3ttFlcSEzYT2fwY3spCRb8p7fCvS0FtzuIQ2QktWRdNwlzf9SmdmegtZNhjSDod0TI7SZlPEM8e4/CjEMqA1NpORUk1Hhe/x4M52Pux+J5+gwjE4oeH78vLfA5MHKxtGSvAmAUp6nRHtSPdUiZcRyFsTu097dKvMZvNbWtfB75DzxLPIKE4jVdmkmnx91EPTAjxpoG/3jzH/zq0GHRc1SeEogbmLYGUoMZeHohmbvNTDMlz3oR2LWO02MF+2+gnciaQ5ZCVOTCrSTHU18dYJaCCe70J9S91yLmViNbXIAw4gZdHSU2awzUOjU75CTXibYwxaV9R0MNO8GNiZpw8bAe34lin7QRNMiPAHR7/Kma+WzfQDePirod80qb5NoLcmKQN0VEPuKRgiMVhNfzIJvIBrFMCaed8d33YiOytClG9YVUhrIN6DwZqiJWBXZjksHc9YZvxx79lcKI5C4Abk3p2PAf2A+7CSnEl2GiwEgGP9EWDjMzs3tlBFOc0u7uZv3kKJfLV+VCeafd6ZnuR4IDVFc7PCAMHCIt1YOolBZ2YbiwT9try5a+mLz3PiSxma+eawLHELuUw1OaTQ3Dqi/ubZSrLyKHppIIhqnoRDDJ1AZAI4l+QslszqrSzN3+Q== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR01MB8048.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(376002)(366004)(136003)(396003)(39850400004)(451199021)(83380400001)(52116002)(6486002)(1076003)(186003)(478600001)(6666004)(2616005)(6506007)(107886003)(6512007)(26005)(2906002)(38350700002)(5660300002)(38100700002)(66556008)(4326008)(41300700001)(8936002)(66946007)(6916009)(66476007)(8676002)(316002)(86362001)(43062005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?wqCUo/i1vJmS0TrJ72wov0t+R2PQ+eLYAGTYtpVim1vQAPyN/P0iEiKTrfTx?= =?us-ascii?Q?mwpdp9PWmLCaJffBf+taj5IJYAcITAYrHObWhdlQrwdPmMQcIIeeICAo8p7k?= =?us-ascii?Q?HrE9ZRRPoGKT8/7wftxyuepJjdw/uvPRZ/dz+c/jQ6Cy9CkFrXfHi90zKqIh?= =?us-ascii?Q?tCUjx3UJKdyo/wA5uRUPWHqldEJriIB4+C3kRISSbbKe/XNyiJ7tqpuwdotz?= =?us-ascii?Q?/A17U+ZFUIesrH5ynWN3PrbM0y3IjWVRzHvNCcNy6IfQkdvK5xTIUHDA9eUP?= =?us-ascii?Q?MFyg3h7K3OUgaF290+wMyK/rbvX2pDQCma0UUxipUbNkNwC/zVcG+vzGsgID?= =?us-ascii?Q?u7ZkAX0SFMpaUNU4Jy0IwkbXohnsAGi9YW1gUlVMXTeHm4IMyLShwp2x9OYS?= =?us-ascii?Q?WHe4EibWUtLAIIKs9Zo9GnDf/i9zyZXyafvOozvQ9gsx+h4/1XSg5/0NluVb?= =?us-ascii?Q?ZCHc7OMGan3NX1YNwPIlb7aNQRcca4MwakH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10ux1JVCF8TYPm2m7lWHwr2m0PTmp2KSqRhz80UfGKPJAesPr?= =?us-ascii?Q?LaLZobMG1FOH0RqC7qigEA0rQpVKbrglNGXT9fLxi9q+0IVqohJgsl8IVxP8?= =?us-ascii?Q?0cmlbA/D/qvV8Z2Af57SJgDpY7ritr18x5yVmPIIlYBfE9Dj76WMYpdRta8k?= =?us-ascii?Q?8jWRXiWXC1rDdZecDrAnzESIBgVjLSP0BdNczzccTjoTwQh5u8Me6S/91aOf?= =?us-ascii?Q?l5Vqvtw1vCQPv94L/4Tq542bL+i4tYXuhRDqWYkoJike?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: c924ca73-f0f9-412e-778c-08db4d347302 X-MS-Exchange-CrossTenant-AuthSource: PH0PR01MB8048.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 May 2023 06:46:27.0363 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 3s99wa9wzEbr0M++oMAQSC/1gx+nualgobXhpgo0iU5KTQ9jlk91knln3HtMzmbrNXzbRz9OMdRN6MP8+f4y2PvwXsIzdtFbpuvrjp47mI1CpHigBXIS3hGuHC7xeed3 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR01MB5087 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain This patchset adds necessary changes for RedfishPkg to avoid some unexpecte= d cases and fix compilation. Changes since v3: + Replaced __FUNCTION__ with __func__ to be more C11 compliant. Changes since v2: + Added "Cc:" to maintainers in commit message. + Corrected patch format subject prefix. Changes since v1: + Removed redundant change and change the commit message for more precise = in PATCH 2/5. Nhi Pham (1): RedfishPkg: Add missing newline character Vu Nguyen (4): RedfishPkg: Correct variable type to prevent memory corruption RedfishPkg: Fix condition checking of error status RedfishPkg: Create RestEx child on selected interface RedfishPkg: Fix compile issue on Linux RedfishPkg/Include/Library/RestExLib.h | 3 + RedfishPkg/Include/Pcd/RestExServiceDevicePath.h | 5 +- RedfishPkg/RedfishRestExDxe/RedfishRestExDriver.h | 3 +- RedfishPkg/Library/DxeRestExLib/DxeRestExLib.c | 153 +++++++= +------------ RedfishPkg/RedfishDiscoverDxe/RedfishDiscoverDxe.c | 4 +- RedfishPkg/RedfishHostInterfaceDxe/RedfishHostInterfaceDxe.c | 3 +- 6 files changed, 73 insertions(+), 98 deletions(-) --=20 2.39.0