Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/123405/?format=api
https://patches.dpdk.org/api/patches/123405/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20230208020001.181055-2-hernan.vargas@intel.com/", "project": { "id": 1, "url": "https://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": "<20230208020001.181055-2-hernan.vargas@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230208020001.181055-2-hernan.vargas@intel.com", "date": "2023-02-08T02:00:00", "name": "[v2,1/2] baseband/acc: fix check after deref and dead code", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "a8970ab86285b202f3fa7c78ac5a9adf9623f721", "submitter": { "id": 2659, "url": "https://patches.dpdk.org/api/people/2659/?format=api", "name": "Hernan Vargas", "email": "hernan.vargas@intel.com" }, "delegate": { "id": 2642, "url": "https://patches.dpdk.org/api/users/2642/?format=api", "username": "mcoquelin", "first_name": "Maxime", "last_name": "Coquelin", "email": "maxime.coquelin@redhat.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20230208020001.181055-2-hernan.vargas@intel.com/mbox/", "series": [ { "id": 26875, "url": "https://patches.dpdk.org/api/series/26875/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=26875", "date": "2023-02-08T01:59:59", "name": "DPDK Coverity issue 381631, 381646", "version": 2, "mbox": "https://patches.dpdk.org/series/26875/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/123405/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/123405/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 6EB1341C35;\n\tWed, 8 Feb 2023 03:00:02 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id E1C6F427E9;\n\tWed, 8 Feb 2023 02:59:58 +0100 (CET)", "from mga06.intel.com (mga06b.intel.com [134.134.136.31])\n by mails.dpdk.org (Postfix) with ESMTP id 9AD9840DDB;\n Wed, 8 Feb 2023 02:59:56 +0100 (CET)", "from orsmga008.jf.intel.com ([10.7.209.65])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 07 Feb 2023 17:59:55 -0800", "from unknown (HELO csl-npg-qt0.la.intel.com) ([10.233.181.103])\n by orsmga008.jf.intel.com with ESMTP; 07 Feb 2023 17:59:54 -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=1675821596; x=1707357596;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=FsZf/4FD8oIVc4FUCfMjFPVxdI8rMJOFJN/1w2p6bxM=;\n b=nOi410whWjw3svinBJ8Fqi1wJpDiA8SU8xX9/YycacymqtC1dYKSlLkD\n Bk8Ej6k9G0yq0rp3bjCk4dicZ2xtN5OFZbDuKBZF8FCJ0i9tBCErXdCWc\n B4sCyj2TIWHGjXEE2qZQcGCF+8UCYMHkoREeU2SwZlatJkiK4bh6pqzA6\n ODqnwRDmzSFYSRS9L3gN4+ZjhBDnPS/mb7OUvt/KJ5nPxJYcM0cMre+2i\n sCrWy2RUFDV6FU9qmVZYWpGHSeyPM3cZa6VtuMP2KWvkOAgce9ZCSOv1d\n ZfV2LatiQv5eEvjOmTW7GU5v938++dqoItYzV/hrSWXXeofLKtgi46pYk g==;", "X-IronPort-AV": [ "E=McAfee;i=\"6500,9779,10614\"; a=\"392081216\"", "E=Sophos;i=\"5.97,279,1669104000\"; d=\"scan'208\";a=\"392081216\"", "E=McAfee;i=\"6500,9779,10614\"; a=\"697487409\"", "E=Sophos;i=\"5.97,279,1669104000\"; d=\"scan'208\";a=\"697487409\"" ], "X-ExtLoop1": "1", "From": "Hernan Vargas <hernan.vargas@intel.com>", "To": "dev@dpdk.org, maxime.coquelin@redhat.com, gakhil@marvell.com,\n trix@redhat.com", "Cc": "nicolas.chautru@intel.com, qi.z.zhang@intel.com, john.mcnamara@intel.com,\n Hernan Vargas <hernan.vargas@intel.com>, stable@dpdk.org", "Subject": "[PATCH v2 1/2] baseband/acc: fix check after deref and dead code", "Date": "Tue, 7 Feb 2023 18:00:00 -0800", "Message-Id": "<20230208020001.181055-2-hernan.vargas@intel.com>", "X-Mailer": "git-send-email 2.37.1", "In-Reply-To": "<20230208020001.181055-1-hernan.vargas@intel.com>", "References": "<20230208020001.181055-1-hernan.vargas@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "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": "Fix potential issue of dereferencing a pointer before null check.\nRemove null check for value that could never be null.\n\nCoverity issue: 381646, 381631\nFixes: 989dec301a9 (\"baseband/acc100: add ring companion address\")\nCc: stable@dpdk.org\n\nSigned-off-by: Hernan Vargas <hernan.vargas@intel.com>\n---\n drivers/baseband/acc/rte_acc100_pmd.c | 2 --\n 1 file changed, 2 deletions(-)", "diff": "diff --git a/drivers/baseband/acc/rte_acc100_pmd.c b/drivers/baseband/acc/rte_acc100_pmd.c\nindex 36f6fec5ad..baab459436 100644\n--- a/drivers/baseband/acc/rte_acc100_pmd.c\n+++ b/drivers/baseband/acc/rte_acc100_pmd.c\n@@ -4106,8 +4106,6 @@ acc100_dequeue_ldpc_enc(struct rte_bbdev_queue_data *q_data,\n \tint ret, cbm;\n \tstruct rte_bbdev_enc_op *op;\n \n-\tif (q == NULL)\n-\t\treturn 0;\n #ifdef RTE_LIBRTE_BBDEV_DEBUG\n \tif (unlikely(ops == 0))\n \t\treturn 0;\n", "prefixes": [ "v2", "1/2" ] }{ "id": 123405, "url": "