get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/111650/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 111650,
    "url": "http://patches.dpdk.org/api/patches/111650/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1653341116-50325-3-git-send-email-nicolas.chautru@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": "<1653341116-50325-3-git-send-email-nicolas.chautru@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1653341116-50325-3-git-send-email-nicolas.chautru@intel.com",
    "date": "2022-05-23T21:25:13",
    "name": "[v4,2/5] baseband/acc100: add protection for some negative scenario",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "8a9f163f19dcd27dcb66629b8cc20957d09d2cce",
    "submitter": {
        "id": 1314,
        "url": "http://patches.dpdk.org/api/people/1314/?format=api",
        "name": "Chautru, Nicolas",
        "email": "nicolas.chautru@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/1653341116-50325-3-git-send-email-nicolas.chautru@intel.com/mbox/",
    "series": [
        {
            "id": 23103,
            "url": "http://patches.dpdk.org/api/series/23103/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=23103",
            "date": "2022-05-23T21:25:13",
            "name": "drivers/baseband: PMD to support ACC100/ACC101 devices",
            "version": 4,
            "mbox": "http://patches.dpdk.org/series/23103/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/111650/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/111650/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 F23BFA00C2;\n\tMon, 23 May 2022 23:34:05 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 7E94941611;\n\tMon, 23 May 2022 23:34:05 +0200 (CEST)",
            "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by mails.dpdk.org (Postfix) with ESMTP id 2AF2A40156;\n Mon, 23 May 2022 23:34:02 +0200 (CEST)",
            "from fmsmga008.fm.intel.com ([10.253.24.58])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 23 May 2022 14:33:58 -0700",
            "from skx-5gnr-sc12-4.sc.intel.com ([172.25.69.210])\n by fmsmga008.fm.intel.com with ESMTP; 23 May 2022 14:33:56 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1653341643; x=1684877643;\n h=from:to:cc:subject:date:message-id:in-reply-to: references;\n bh=WliwIJAHSrqJX0JkohDXfNc2G2g+MqDMbxRN/NP82Og=;\n b=n/yRilMD7oqpDh+vmue0fSiYnV9/aizrMR9vSU4U00Py9Rma9uY4JceI\n HewvRRZIfILj9Zxbb3NgCusAw1QnuhD23pfYuPR9YA6Y6FDESsBgxMr+c\n mljr2A0quBT5CuV678Zaui+isb+f0CSCoQk5mPOmhvK5hlzNx/JBAU2Jo\n UnPHaAToCuMO63WeCOS5enAL1qrxxNRf7tNJSbJK4e0S/5/QPydTZ8Rj7\n 4uk62xeSNUpgk/wbkdQNbzpkd3Xh/2YZsoKoQDNxVhJeCUjoO0taStnaX\n Kwiz8uBav4YXtMNfC7fVXEme1NI3NryqlG+ZPGzjYaOVImBDYz5GrRXyt w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10356\"; a=\"272183538\"",
            "E=Sophos;i=\"5.91,247,1647327600\"; d=\"scan'208\";a=\"272183538\"",
            "E=Sophos;i=\"5.91,247,1647327600\"; d=\"scan'208\";a=\"629591634\""
        ],
        "X-ExtLoop1": "1",
        "From": "Nicolas Chautru <nicolas.chautru@intel.com>",
        "To": "dev@dpdk.org, gakhil@marvell.com, trix@redhat.com,\n maxime.coquelin@redhat.com",
        "Cc": "thomas@monjalon.net, ray.kinsella@intel.com, bruce.richardson@intel.com,\n hemant.agrawal@nxp.com, hernan.vargas@intel.com, david.marchand@redhat.com,\n Nicolas Chautru <nicolas.chautru@intel.com>, stable@dpdk.org",
        "Subject": "[PATCH v4 2/5] baseband/acc100: add protection for some negative\n scenario",
        "Date": "Mon, 23 May 2022 14:25:13 -0700",
        "Message-Id": "<1653341116-50325-3-git-send-email-nicolas.chautru@intel.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1653341116-50325-1-git-send-email-nicolas.chautru@intel.com>",
        "References": "<1651083423-33202-1-git-send-email-nicolas.chautru@intel.com>\n <1653341116-50325-1-git-send-email-nicolas.chautru@intel.com>",
        "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": "Catch exception in PMD in case of invalid input parameter.\n\nFixes: 5ad5060f8f7a (\"baseband/acc100: add LDPC processing functions\")\nCc: stable@dpdk.org\n\nSigned-off-by: Nicolas Chautru <nicolas.chautru@intel.com>\n---\n drivers/baseband/acc100/rte_acc100_pmd.c | 6 ++++++\n 1 file changed, 6 insertions(+)",
    "diff": "diff --git a/drivers/baseband/acc100/rte_acc100_pmd.c b/drivers/baseband/acc100/rte_acc100_pmd.c\nindex 9135c0e..3fdf17d 100644\n--- a/drivers/baseband/acc100/rte_acc100_pmd.c\n+++ b/drivers/baseband/acc100/rte_acc100_pmd.c\n@@ -1236,6 +1236,8 @@\n \t\t\treturn (bg == 1 ? ACC100_K0_3_1 : ACC100_K0_3_2) * z_c;\n \t}\n \t/* LBRM case - includes a division by N */\n+\tif (unlikely(z_c == 0))\n+\t\treturn 0;\n \tif (rv_index == 1)\n \t\treturn (((bg == 1 ? ACC100_K0_1_1 : ACC100_K0_1_2) * n_cb)\n \t\t\t\t/ n) * z_c;\n@@ -1764,6 +1766,10 @@\n \n \t/* Soft output */\n \tif (check_bit(op->turbo_dec.op_flags, RTE_BBDEV_TURBO_SOFT_OUTPUT)) {\n+\t\tif (op->turbo_dec.soft_output.data == 0) {\n+\t\t\trte_bbdev_log(ERR, \"Soft output is not defined\");\n+\t\t\treturn -1;\n+\t\t}\n \t\tif (check_bit(op->turbo_dec.op_flags,\n \t\t\t\tRTE_BBDEV_TURBO_EQUALIZER))\n \t\t\t*s_out_length = e;\n",
    "prefixes": [
        "v4",
        "2/5"
    ]
}