Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/108409/?format=api
http://patches.dpdk.org/api/patches/108409/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220228160555.24926-1-arkadiuszx.kusztal@intel.com/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20220228160555.24926-1-arkadiuszx.kusztal@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220228160555.24926-1-arkadiuszx.kusztal@intel.com", "date": "2022-02-28T16:05:55", "name": "crypto/qat: fix structurally dead code", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "3aa74c66ca49e14841da8b10839ba12eb6c5dc4c", "submitter": { "id": 452, "url": "http://patches.dpdk.org/api/people/452/?format=api", "name": "Arkadiusz Kusztal", "email": "arkadiuszx.kusztal@intel.com" }, "delegate": { "id": 6690, "url": "http://patches.dpdk.org/api/users/6690/?format=api", "username": "akhil", "first_name": "akhil", "last_name": "goyal", "email": "gakhil@marvell.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20220228160555.24926-1-arkadiuszx.kusztal@intel.com/mbox/", "series": [ { "id": 21931, "url": "http://patches.dpdk.org/api/series/21931/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=21931", "date": "2022-02-28T16:05:55", "name": "crypto/qat: fix structurally dead code", "version": 1, "mbox": "http://patches.dpdk.org/series/21931/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/108409/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/108409/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 22321A0353;\n\tMon, 28 Feb 2022 17:06:04 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id D2A834068C;\n\tMon, 28 Feb 2022 17:06:03 +0100 (CET)", "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id 19F3640140\n for <dev@dpdk.org>; Mon, 28 Feb 2022 17:06:02 +0100 (CET)", "from fmsmga001.fm.intel.com ([10.253.24.23])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 28 Feb 2022 08:06:01 -0800", "from silpixa00400308.ir.intel.com ([10.237.214.95])\n by fmsmga001.fm.intel.com with ESMTP; 28 Feb 2022 08:05:59 -0800" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1646064363; x=1677600363;\n h=from:to:cc:subject:date:message-id;\n bh=cmnOt+LtRFTnYSVAWSHDKG0MWdwyQNu+pT5DbE5+HA0=;\n b=Pl84Qnua9ndF0XZ8r+VG0zsyxNaS8bD2kylF4Xzud583NlE7tbFz99ps\n tjGrZrHZR7W8UGy6j1PUACwoWHQSnFxsha+O3K0EelkjCBoGVjCz63kEr\n 0bhbipPnbwA/M7Dod5N9hDJLMESyBaw4SOEnzMeqLisNHTPHrQu4m1KJ9\n CBmvgk7b2UvlFBUuQIbuheoU6DP/vJcZ4hs9HNC+DpuXfjEnANqtxve3Y\n SBCG5epcyoElY+8HFjJ/ah4ipDVqW8vSua5e9vefHjHSpUb+YxeaFODox\n MtIB7L5x/OU/Ndyn9xNOfObCF0i/aOOBkepCuL0gHlTdo4tRIj8vnKsi/ g==;", "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10272\"; a=\"240326393\"", "E=Sophos;i=\"5.90,142,1643702400\"; d=\"scan'208\";a=\"240326393\"", "E=Sophos;i=\"5.90,142,1643702400\"; d=\"scan'208\";a=\"685384377\"" ], "X-ExtLoop1": "1", "From": "Arek Kusztal <arkadiuszx.kusztal@intel.com>", "To": "dev@dpdk.org", "Cc": "gakhil@marvell.com, roy.fan.zhang@intel.com,\n Arek Kusztal <arkadiuszx.kusztal@intel.com>", "Subject": "[PATCH] crypto/qat: fix structurally dead code", "Date": "Mon, 28 Feb 2022 16:05:55 +0000", "Message-Id": "<20220228160555.24926-1-arkadiuszx.kusztal@intel.com>", "X-Mailer": "git-send-email 2.17.1", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "This patch fixes structurally dead code in QAT\nasym pmd.\n\nCoverity issue: 376563\nFixes: ef2f4238a04d (\"crypto/qat: refactor asymmetric session\")\n\nSigned-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>\n---\n drivers/crypto/qat/qat_asym.c | 1 -\n 1 file changed, 1 deletion(-)", "diff": "diff --git a/drivers/crypto/qat/qat_asym.c b/drivers/crypto/qat/qat_asym.c\nindex badf018f13..1e4304a3c0 100644\n--- a/drivers/crypto/qat/qat_asym.c\n+++ b/drivers/crypto/qat/qat_asym.c\n@@ -1183,7 +1183,6 @@ session_clear_modinv(struct rte_crypto_modinv_xform *modinv)\n static void\n session_clear_rsa(struct rte_crypto_rsa_xform *rsa)\n {\n-\treturn;\n \tmemset(rsa->n.data, 0, rsa->n.length);\n \trte_free(rsa->n.data);\n \tmemset(rsa->e.data, 0, rsa->e.length);\n", "prefixes": [] }{ "id": 108409, "url": "