From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 73C08A034F for ; Wed, 10 Nov 2021 07:45:35 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 604B64014D; Wed, 10 Nov 2021 07:45:35 +0100 (CET) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2085.outbound.protection.outlook.com [40.107.244.85]) by mails.dpdk.org (Postfix) with ESMTP id 6E5D64014D for ; Wed, 10 Nov 2021 07:45:34 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=er3vMNDmP8v1AdiRxS5hUhIQtpN8YjvEmyumbrNUce56d7QQ448kxN4Q4peDNjOxy1rgvPfTUkSTGCTVd4eDB8kySaYofZS/WjR4O9Yfyym3+xL53ubcz0i7IrXMR4oyIqbZ//yPAFVH5YorE7nLwGM6fiv6AJRIUtLgei/ocmUPQC2VQBclytcFAvKBoAr8rCEMgoeKG9+SemYJ5XRc6U9NzUBbk1XdTPPU9EtdfAW/kQ0yAy8CqmodiSYZUZ3mZOK4GQKt+TWPpRcUq6ff0EbVrQ4N967ZZ2RmD5rlSRuhaDmS4bnKEKNrwkgqkFTZ1hKjCeJTNIAmcqcE+tT6rA== 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=bVV25eZxdUv3IjCtLLqo49OhfGdsclcYM7L0SbjcJfo=; b=ehfNW5277H7Mym+0fZwOjVMlw/tt7rbRJYzwQY61Ts/jAqqUfJ8fxXLX6ktQ6ioR9mhZ7evXkYPCc+4ycedPIHGUJAWuP2K2OP4zLwn818PZP4zc/5QROm5z/aPw3yNrOc+lyso/ifeyOb6bj1+Ho5cJU6MLcthKwIKQ0bsurpmDGXj7i24AkU/yWjxT9RGMiyKVGTkWg+aWX+yqKrllVu8r5qsCcUv4m1/eAOtCRpHwH8FA5r0dNSkeAu8kBEpNTmeUuFGM8NLnL+oiLbEDHoXDLsJ+/PQ9H7MZH+vghFO3vIWxchoupfors0egENQ2lfXYOaOCSgl/rCmN1+gMsA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=intel.com smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bVV25eZxdUv3IjCtLLqo49OhfGdsclcYM7L0SbjcJfo=; b=jmfvckFwAG8AU2UuR/oIcUwzLQlcrNTHBkHp43e2g54dXRg82VJfgK+BuVNcrjGS1yfDe9wW6iettT9GUJ+we9EL5nNf4NprpzAAVEHOdIdQ7gglAY4AmWbLx9Y/vq46Gc50z+hmUMkfh4uxOrYsn5fzfY+O4ALJngJSAmLR5ceQL5XZGHK+tacGLkgnJOREhTWhmWN6KOX0JnVLmvnP/u7mnVnGUw51Bz8iRMPtQV84K/sa85kyYSWA8v9O2NHjb222LJjfZgjgiWyhkRjlaWYvV6Vyc/nWMHvvJ8V2Egtq7e7zVvZrRRuR9WQLGgbSkYz+FiEZUjVFRfP2XuXMbA== Received: from BN9P222CA0007.NAMP222.PROD.OUTLOOK.COM (2603:10b6:408:10c::12) by CO6PR12MB5457.namprd12.prod.outlook.com (2603:10b6:5:355::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.11; Wed, 10 Nov 2021 06:45:32 +0000 Received: from BN8NAM11FT025.eop-nam11.prod.protection.outlook.com (2603:10b6:408:10c:cafe::21) by BN9P222CA0007.outlook.office365.com (2603:10b6:408:10c::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.11 via Frontend Transport; Wed, 10 Nov 2021 06:45:32 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by BN8NAM11FT025.mail.protection.outlook.com (10.13.177.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4669.10 via Frontend Transport; Wed, 10 Nov 2021 06:45:32 +0000 Received: from nvidia.com (172.20.187.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Wed, 10 Nov 2021 06:45:28 +0000 From: Xueming Li To: Ciara Power CC: Luca Boccassi , Fan Zhang , dpdk stable Date: Wed, 10 Nov 2021 14:29:59 +0800 Message-ID: <20211110063216.2744012-116-xuemingl@nvidia.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211110063216.2744012-1-xuemingl@nvidia.com> References: <20211110063216.2744012-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9e857196-1d96-417e-9c43-08d9a415b134 X-MS-TrafficTypeDiagnostic: CO6PR12MB5457: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: e/HBMWAtsObMXTV8mTL5myFyS/jVNcroHZxq+yRXsZYytELk6qU7FaJeu+uIYukHy8D8UwOxNs6XQfvv/6K1Jb0toMH3jpHazCpjVlp9tAl2REP0O6Dlezg/AXaYNtBSH/iWgcMG5IdIdM50fud1J4jpFQCGNf/TNPPBI/rvYCl0Fv3yyS3NaFY0Ww9rH73gcbtauIw4+Ozg1FrTXvO9ml2TwuYNRTmj3COPFshQhTSwjTVjSJqlyus+ajsFfmGVW/8FNmIZFKj6cD/kVdNupc1ZQmrzqkoVjthL5H7+yCkabkqs2iBt666fBCyfnFOSZNlLm+8FeSKwdKlRNADX/7ncO4RWZ4eqLyD8a3yWEgwXxMo1yHx+QuUdcgwiREXoXC8ByY0P21VTU6BtzQx4SLjL4VQoeR7KaWuAwSXFrfjwXAyO9uCRb+L8QT8C2Vm753CnH/puZiWC/1bgugb82mAjrFXtzh3GXWnrPqMzDzZwdu+Q3c2ghsIcflLcrkM/T6bVdW4u50DLpBdEH8+BDfTM4cpisGsb7TtsI07E/xqgVnvZA8Z3lA6WC8hbpYHcJBnvxsvOMcxuwNYJU0JqB9/r6YLYdcdQgPnxZjOToHPaA8nso8A8pSV64XnyHbGuQ07hShetOPl2KDqGCIlK8dzMMOhA5TenZtvzMUrSCilCRJNfGc5rzO3p3in01/YTIkjeu6ktYZHt0cl1NnrzoeRPkKi5CP7M184MkVyOYQwu3P6+Bt02zOmmLugSYC4UVTzVIbwpQdI/ggGUYeUvtHoai/EkQcmxe9vIrNjmS92BaPgejx2wf81FFfy4/NFKGGhZWjtx/ow/T4tZ8A7DZQ== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(36840700001)(46966006)(82310400003)(16526019)(47076005)(7636003)(6286002)(53546011)(26005)(36860700001)(426003)(336012)(83380400001)(36756003)(7696005)(356005)(186003)(2906002)(8936002)(2616005)(1076003)(6666004)(36906005)(54906003)(8676002)(316002)(4001150100001)(5660300002)(966005)(508600001)(86362001)(70586007)(70206006)(4326008)(6916009)(55016002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Nov 2021 06:45:32.1660 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9e857196-1d96-417e-9c43-08d9a415b134 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT025.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR12MB5457 Subject: [dpdk-stable] patch 'examples/fips_validation: remove unused allocation' has been queued to stable release 20.11.4 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to stable release 20.11.4 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/12/21. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/steevenlee/dpdk This queued commit can be viewed at: https://github.com/steevenlee/dpdk/commit/1aab8371d34dce3a596ddb1792618c32653cf9f9 Thanks. Xueming Li --- >From 1aab8371d34dce3a596ddb1792618c32653cf9f9 Mon Sep 17 00:00:00 2001 From: Ciara Power Date: Thu, 12 Aug 2021 14:24:34 +0000 Subject: [PATCH] examples/fips_validation: remove unused allocation Cc: Xueming Li [ upstream commit 25d392e1999b3d766f3a9f142372cc1220fa2c97 ] The val.val pointer is allocated memory, however this memory is then freed in get_writeback_data() without being used beforehand. The pointer is then allocated memory again before use, so the very first allocation is removed as it was unnecessary. Fixes: f4797bae0050 ("examples/fips_validation: support plain SHA") Signed-off-by: Ciara Power Acked-by: Fan Zhang --- examples/fips_validation/main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/fips_validation/main.c b/examples/fips_validation/main.c index a7259173ec..cb38d40b66 100644 --- a/examples/fips_validation/main.c +++ b/examples/fips_validation/main.c @@ -1617,7 +1617,6 @@ fips_mct_sha_test(void) int ret; uint32_t i, j; - val.val = rte_malloc(NULL, (MAX_DIGEST_SIZE*SHA_MD_BLOCK), 0); for (i = 0; i < SHA_MD_BLOCK; i++) md[i].val = rte_malloc(NULL, (MAX_DIGEST_SIZE*2), 0); -- 2.33.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-10 14:17:07.097433692 +0800 +++ 0115-examples-fips_validation-remove-unused-allocation.patch 2021-11-10 14:17:01.880746009 +0800 @@ -1 +1 @@ -From 25d392e1999b3d766f3a9f142372cc1220fa2c97 Mon Sep 17 00:00:00 2001 +From 1aab8371d34dce3a596ddb1792618c32653cf9f9 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 25d392e1999b3d766f3a9f142372cc1220fa2c97 ] @@ -12 +14,0 @@ -Cc: stable@dpdk.org @@ -21 +23 @@ -index a8daad1f48..c0e68b8848 100644 +index a7259173ec..cb38d40b66 100644 @@ -24 +26 @@ -@@ -1632,7 +1632,6 @@ fips_mct_sha_test(void) +@@ -1617,7 +1617,6 @@ fips_mct_sha_test(void)