From nobody Fri Nov 1 00:29:44 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+107139+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1690013892965273.1954762372111; Sat, 22 Jul 2023 01:18:12 -0700 (PDT) Return-Path: DKIM-Signature: a=rsa-sha256; bh=aSNUTRpaqdtG4H08NEN48Svw1iT04DqmZILiL2TKNAo=; c=relaxed/simple; d=groups.io; h=X-Received:X-Received:ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:X-Received:X-Received:X-MS-Exchange-Authentication-Results:Received-SPF:X-Received:X-Received:X-Received:X-Received:From:To:CC:Subject:Date:Message-ID:MIME-Version:X-NV-OnPremToCloud:X-EOPAttributedMessage:X-MS-PublicTrafficType:X-MS-TrafficTypeDiagnostic:X-MS-Office365-Filtering-Correlation-Id:X-MS-Exchange-SenderADCheck:X-MS-Exchange-AntiSpam-Relay:X-Microsoft-Antispam-Message-Info:X-OriginatorOrg:X-MS-Exchange-CrossTenant-OriginalArrivalTime:X-MS-Exchange-CrossTenant-Network-Message-Id:X-MS-Exchange-CrossTenant-Id:X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp:X-MS-Exchange-CrossTenant-AuthSource:X-MS-Exchange-CrossTenant-AuthAs:X-MS-Exchange-CrossTenant-FromEntityHeader:X-MS-Exchange-Transport-CrossTenantHeadersStamped:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:X-Gm-Message-State:Content-Transfer-Encoding:Content-Type; s=20140610; t=1690013892; v=1; b=rtzlYUPoznRTQxzodlua6+p6IsTU17HURNJMFZ0Hk/pztS4vdENpqm5K6bvkMfrB3KWUSmT/ TuHIvHKSw2qgknk8KZqydf0irxm984FeRB2ciSi6kqkf7QIQunF+3qEY0yGti+0NY/W57tM3vNj wUPfDAQm3IlkMKjgOQUGoKac= X-Received: by 127.0.0.2 with SMTP id HlGuYY1788612xDruh1QMBJm; Sat, 22 Jul 2023 01:18:12 -0700 X-Received: from NAM10-MW2-obe.outbound.protection.outlook.com (NAM10-MW2-obe.outbound.protection.outlook.com [40.107.94.43]) by mx.groups.io with SMTP id smtpd.web11.1785.1690013891859570047 for ; Sat, 22 Jul 2023 01:18:12 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KjvzA3SNTq5vN4+hBKqacPTsIjv9IMy8OH94UKpz0i7rrjpHFFC8GNvmTkhnsOJfgV1+IC16wJZOXbCVnaecNeXBue1zyTIklqIw0FIAZUXlVPhXn+fChsDjGAHIrlVgh5h0/ER6eDPHrnAG2uxDhVcUJnsTWnXZTVr15r3n3WW/act+fd4rugsNnxSyKUODA2dQGEFG12ZEDJXfcVlL6JFhiG1kc/gnSkw5MqjQOqAUecl4tqv6Dm7kfOxkauQuS9P+IP+DHlXPQdbAKnV1F53MyOODDi3eN9sNw3BEiA4mpxRjSHt+EAS7/iDtlA6o5lAo8P8R31sTITQxGhR+rw== 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=KEALkpxWOoOJuqTOf2IoB67bFshcL1i7X1OFq7aBdE8=; b=g9+EwBHRxCssngJaYw20rD/OSsb3G+3/1WsTLyP+hzfL8NQh8GPbcXHcYa1QKmE2CznBbpUsv49dppjOmA/ua6wKfvtt6KUOyJbOke2eH1Ukb6yiTmWzdFHNUivDOJZUr+v6JXT3DuB3YRRQlbEw/T516wQA4JG2kFG2SPytCLFDi3nL4SOWmAsVsVz7UcPLhPDUisGna6Eyj25m25w5EbZqiiQFm6RNj99fPF8v6WAiwTx4JXnHCLfYjevvUeW3v/xbmJKv0nLsjmQRZ4x4qrOAHFsE5OX0BM4QS9I8A+tcypms0axo1o/9otb71vNKLsNvZYY3GLNatCaetDIVxQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.232) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none X-Received: from DS7PR03CA0030.namprd03.prod.outlook.com (2603:10b6:5:3b8::35) by DM6PR12MB4251.namprd12.prod.outlook.com (2603:10b6:5:21e::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6609.28; Sat, 22 Jul 2023 08:18:09 +0000 X-Received: from DM6NAM11FT071.eop-nam11.prod.protection.outlook.com (2603:10b6:5:3b8:cafe::6f) by DS7PR03CA0030.outlook.office365.com (2603:10b6:5:3b8::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6609.28 via Frontend Transport; Sat, 22 Jul 2023 08:18:09 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.232) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+107139+1787277+3901457@groups.io; helo=mail02.groups.io; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.118.232 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.232; helo=mail.nvidia.com; pr=C X-Received: from mail.nvidia.com (216.228.118.232) by DM6NAM11FT071.mail.protection.outlook.com (10.13.173.48) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6609.28 via Frontend Transport; Sat, 22 Jul 2023 08:18:09 +0000 X-Received: from drhqmail201.nvidia.com (10.126.190.180) by mail.nvidia.com (10.127.129.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.5; Sat, 22 Jul 2023 01:18:04 -0700 X-Received: from drhqmail201.nvidia.com (10.126.190.180) by drhqmail201.nvidia.com (10.126.190.180) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Sat, 22 Jul 2023 01:18:03 -0700 X-Received: from NV-CL38DL3.nvidia.com (10.127.8.13) by mail.nvidia.com (10.126.190.180) with Microsoft SMTP Server id 15.2.986.37 via Frontend Transport; Sat, 22 Jul 2023 01:18:03 -0700 From: "Nickle Wang via groups.io" To: CC: Abner Chang , Igor Kulchytskyy , "Nick Ramirez" Subject: [edk2-devel] [PATCH] RedfishPkg/RedfishCrtLib: multiple definitions of strncpy. Date: Sat, 22 Jul 2023 16:18:02 +0800 Message-ID: <20230722081802.123-1-nicklew@nvidia.com> MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT071:EE_|DM6PR12MB4251:EE_ X-MS-Office365-Filtering-Correlation-Id: 23503b58-3b6e-4809-5356-08db8a8c2f20 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: mHxcPO+uepetzJiOJATEm3eE1kKWhMa2tig2HoJgq3tXNWJdozWSBBRQhKd4Dd+4mxoA4SumkxBhBfOTn/3zlMnYXjV0FfnhyIjc3XwmyH6b9joKBWLU6cQCIXtY+XAIxHBVNYlzZkdsRn68RBL+8dYHcYdViVw1qqCQyO+pWUQQIlGM6mU7vAZ+W6jbhaUS8PiRfTUnT1I/SGDKX4xBVyTdzH5Dqjak1sgyhtTTkuq/7BPlNsiXpv+hnydmImm1UEOlBnHaR/wUVfAqOFiP7Q8Ms4fhNDUTeySTZjcGurBVaqFoH1arXDbX2D8xCpTd9Va2AKesXsqVubm2DLzfuHFep9OWSv+x6rxRZNdCehAOUxBXCddQI1XPIjfTk2Qw836kwIhx9cMLtbG/7QkN8jVYCDOXRKBWPeK6kFg2jeJ4EhlYnVxAy5P1WdyyGL3qi65BpcHEQqaxx02NJBAe6vrJZgFLQyl7b2N9Jm+GJMw1psLN4txNnsk5nvhnzNDMvGsS0nfUjRw4hMJzP5FuFaTBgUy7df24hiZZ956mmUfWN/OMttvIOh35fqbu7IV/5AoZUwRe+Z5sVEs+85cTr+EJPiiQwtzjtd89clEinVnmhV78UYU7P7liYgyN1o3PWi2tRE5zdQQzlczI9dQXd6aPrczytVsjQTgUqxtFRu2/JVa+XiV0COlyvGBN3Hv7SNS+cfXy57dlVLJN04g5XLLI/QykrYpMzX7AYxzPBILCA0uPr/QZAW1xmnG1CxDh X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jul 2023 08:18:09.2196 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 23503b58-3b6e-4809-5356-08db8a8c2f20 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.118.232];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT071.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4251 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,nicklew@nvidia.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: vAhq6cuIy48uFsQrorga4M0ix1787277AA= Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1690013893719100001 Content-Type: text/plain; charset="utf-8" There are two definitions for strncpy() function in RedfishCrtLib.h Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy Cc: Nick Ramirez Reviewed-by: Abner Chang Reviewed-by: Igor Kulchytskyy --- RedfishPkg/Include/Library/RedfishCrtLib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RedfishPkg/Include/Library/RedfishCrtLib.h b/RedfishPkg/Includ= e/Library/RedfishCrtLib.h index 23c6acfca33e..a2c17d1b03fc 100644 --- a/RedfishPkg/Include/Library/RedfishCrtLib.h +++ b/RedfishPkg/Include/Library/RedfishCrtLib.h @@ -3,6 +3,7 @@ =20 Copyright (c) 2019, Intel Corporation. All rights reserved.
(C) Copyright 2021 Hewlett Packard Enterprise Development LP
+ Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. =20 SPDX-License-Identifier: BSD-2-Clause-Patent =20 @@ -304,8 +305,7 @@ char * strncpy ( char *, size_t, - const char *, - size_t + const char * ); =20 int --=20 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 (#107139): https://edk2.groups.io/g/devel/message/107139 Mute This Topic: https://groups.io/mt/100292360/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-