get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 132293,
    "url": "https://patches.dpdk.org/api/patches/132293/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20231003204603.3377509-2-tduszynski@marvell.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": "<20231003204603.3377509-2-tduszynski@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20231003204603.3377509-2-tduszynski@marvell.com",
    "date": "2023-10-03T20:46:03",
    "name": "[2/2] raw/cnxk_gpio: add bunch of newlines",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "c0416086ae1e0b42dd1bf377b9aff354a1db088d",
    "submitter": {
        "id": 2215,
        "url": "https://patches.dpdk.org/api/people/2215/?format=api",
        "name": "Tomasz Duszynski",
        "email": "tduszynski@marvell.com"
    },
    "delegate": {
        "id": 310,
        "url": "https://patches.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20231003204603.3377509-2-tduszynski@marvell.com/mbox/",
    "series": [
        {
            "id": 29729,
            "url": "https://patches.dpdk.org/api/series/29729/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=29729",
            "date": "2023-10-03T20:46:02",
            "name": "[1/2] raw/cnxk_gpio: support multi-process mode",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/29729/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/132293/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/132293/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 EBF37426B2;\n\tTue,  3 Oct 2023 22:46:27 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 7F6CA40A71;\n\tTue,  3 Oct 2023 22:46:23 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id E9C694064A\n for <dev@dpdk.org>; Tue,  3 Oct 2023 22:46:21 +0200 (CEST)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id\n 393FPGIN022325; Tue, 3 Oct 2023 13:46:21 -0700",
            "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3tgbasbjvg-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Tue, 03 Oct 2023 13:46:20 -0700",
            "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48;\n Tue, 3 Oct 2023 13:46:19 -0700",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend\n Transport; Tue, 3 Oct 2023 13:46:19 -0700",
            "from cavium-DT10.. (unknown [10.28.34.39])\n by maili.marvell.com (Postfix) with ESMTP id 5D8153F70A6;\n Tue,  3 Oct 2023 13:46:13 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-transfer-encoding : content-type; s=pfpt0220;\n bh=4PZSACuUMDJKrpyeOF4jsffihdxFjlgf57pvSNupD0Y=;\n b=BQeOFVOpO5nevU3gkxSuayOwsI3COLS703wRaAMOCCTlyHBkGuiHQu4pl4SAA05vXhh/\n QEiN4INyb3DG7u42sMpcPX/KoNGSGNFIZng/QYs4r2ImK/lvTYk7gjjD8bNu+zdWV4iY\n X4KFVkZ4M4sW501lCEin0txQcwv+qNqY12PPAtBv/Daygr3D4CW+FnrVuGxdCSMeO0Xr\n rBJtfJNTFlM1P7EgT+os2fLc228O9sjUlmQSZgv1G4TP5AhyxDfKVf2R3I//aYS1KRFV\n IYRl18mJ97nHJMB0TOkmOr9bFJMZukOwlgd9Iz2hh6nCpjCAwR2Xcd64xUVyzUseXiHu Lw==",
        "From": "Tomasz Duszynski <tduszynski@marvell.com>",
        "To": "<dev@dpdk.org>, Jakub Palider <jpalider@marvell.com>, Tomasz Duszynski\n <tduszynski@marvell.com>",
        "CC": "<jerinj@marvell.com>, <thomas@monjalon.net>",
        "Subject": "[PATCH 2/2] raw/cnxk_gpio: add bunch of newlines",
        "Date": "Tue, 3 Oct 2023 22:46:03 +0200",
        "Message-ID": "<20231003204603.3377509-2-tduszynski@marvell.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "In-Reply-To": "<20231003204603.3377509-1-tduszynski@marvell.com>",
        "References": "<20231003204603.3377509-1-tduszynski@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-ORIG-GUID": "FlZgvDtYiNIhZsmA0XlVC2AsVAg0HlPv",
        "X-Proofpoint-GUID": "FlZgvDtYiNIhZsmA0XlVC2AsVAg0HlPv",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26\n definitions=2023-10-03_18,2023-10-02_01,2023-05-22_02",
        "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": "Improve log output by adding some newlines.\n\nSigned-off-by: Tomasz Duszynski <tduszynski@marvell.com>\nReviewed-by: Jerin Jacob Kollanukkaran <jerinj@marvell.com>\nTested-by: Jerin Jacob Kollanukkaran <jerinj@marvell.com>\n---\n drivers/raw/cnxk_gpio/cnxk_gpio.c | 8 ++++----\n 1 file changed, 4 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/drivers/raw/cnxk_gpio/cnxk_gpio.c b/drivers/raw/cnxk_gpio/cnxk_gpio.c\nindex dcd646397e..6c4e4f5eae 100644\n--- a/drivers/raw/cnxk_gpio/cnxk_gpio.c\n+++ b/drivers/raw/cnxk_gpio/cnxk_gpio.c\n@@ -713,7 +713,7 @@ cnxk_gpio_probe(struct rte_vdev_device *dev)\n \tcnxk_gpio_format_name(name, sizeof(name));\n \trawdev = rte_rawdev_pmd_allocate(name, sizeof(*gpiochip), rte_socket_id());\n \tif (!rawdev) {\n-\t\tRTE_LOG(ERR, PMD, \"failed to allocate %s rawdev\", name);\n+\t\tRTE_LOG(ERR, PMD, \"failed to allocate %s rawdev\\n\", name);\n \t\treturn -ENOMEM;\n \t}\n \n@@ -753,7 +753,7 @@ cnxk_gpio_probe(struct rte_vdev_device *dev)\n \tsnprintf(buf, sizeof(buf), \"%s/gpiochip%d/base\", CNXK_GPIO_CLASS_PATH, gpiochip->num);\n \tret = cnxk_gpio_read_attr_int(buf, &gpiochip->base);\n \tif (ret) {\n-\t\tRTE_LOG(ERR, PMD, \"failed to read %s\", buf);\n+\t\tRTE_LOG(ERR, PMD, \"failed to read %s\\n\", buf);\n \t\tgoto out;\n \t}\n \n@@ -761,7 +761,7 @@ cnxk_gpio_probe(struct rte_vdev_device *dev)\n \tsnprintf(buf, sizeof(buf), \"%s/gpiochip%d/ngpio\", CNXK_GPIO_CLASS_PATH, gpiochip->num);\n \tret = cnxk_gpio_read_attr_int(buf, &gpiochip->num_gpios);\n \tif (ret) {\n-\t\tRTE_LOG(ERR, PMD, \"failed to read %s\", buf);\n+\t\tRTE_LOG(ERR, PMD, \"failed to read %s\\n\", buf);\n \t\tgoto out;\n \t}\n \tgpiochip->num_queues = gpiochip->num_gpios;\n@@ -774,7 +774,7 @@ cnxk_gpio_probe(struct rte_vdev_device *dev)\n \n \tgpiochip->gpios = rte_calloc(NULL, gpiochip->num_gpios, sizeof(struct cnxk_gpio *), 0);\n \tif (!gpiochip->gpios) {\n-\t\tRTE_LOG(ERR, PMD, \"failed to allocate gpios memory\");\n+\t\tRTE_LOG(ERR, PMD, \"failed to allocate gpios memory\\n\");\n \t\tret = -ENOMEM;\n \t\tgoto out;\n \t}\n",
    "prefixes": [
        "2/2"
    ]
}