get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 45221,
    "url": "https://patches.dpdk.org/api/patches/45221/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20180924154933.37292-1-herakliusz.lipiec@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": "<20180924154933.37292-1-herakliusz.lipiec@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180924154933.37292-1-herakliusz.lipiec@intel.com",
    "date": "2018-09-24T15:49:33",
    "name": "app/testpmd: fix printf format specifiers",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "afc38f168dbdf68d6ea8ed7cd6f2240e59fb5544",
    "submitter": {
        "id": 742,
        "url": "https://patches.dpdk.org/api/people/742/?format=api",
        "name": "Herakliusz Lipiec",
        "email": "herakliusz.lipiec@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20180924154933.37292-1-herakliusz.lipiec@intel.com/mbox/",
    "series": [
        {
            "id": 1469,
            "url": "https://patches.dpdk.org/api/series/1469/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=1469",
            "date": "2018-09-24T15:49:33",
            "name": "app/testpmd: fix printf format specifiers",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/1469/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/45221/comments/",
    "check": "warning",
    "checks": "https://patches.dpdk.org/api/patches/45221/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 295755F12;\n\tMon, 24 Sep 2018 17:48:11 +0200 (CEST)",
            "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n\tby dpdk.org (Postfix) with ESMTP id 4B4E75B34;\n\tMon, 24 Sep 2018 17:48:09 +0200 (CEST)",
            "from orsmga005.jf.intel.com ([10.7.209.41])\n\tby fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t24 Sep 2018 08:48:08 -0700",
            "from silpixa00399499.ir.intel.com (HELO\n\tsilpixa00399499.ger.corp.intel.com) ([10.237.222.133])\n\tby orsmga005.jf.intel.com with ESMTP; 24 Sep 2018 08:48:06 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.54,298,1534834800\"; d=\"scan'208\";a=\"259824880\"",
        "From": "Herakliusz Lipiec <herakliusz.lipiec@intel.com>",
        "To": "wenzhuo.lu@intel.com, jingjing.wu@intel.com, bernard.iremonger@intel.com",
        "Cc": "dev@dpdk.org,\n\therakliusz.lipiec@intel.com,\n\tstable@dpdk.org",
        "Date": "Mon, 24 Sep 2018 16:49:33 +0100",
        "Message-Id": "<20180924154933.37292-1-herakliusz.lipiec@intel.com>",
        "X-Mailer": "git-send-email 2.9.5",
        "Subject": "[dpdk-dev] [PATCH] app/testpmd: fix printf format specifiers",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "change PRIu8 -> PRIu16 for port_id (portid_t is uint16_t) in eth_event_callback\n\nFixes: 76ad4a2d82d4 (\"app/testpmd: add generic event handler\")\nCc: stable@dpdk.org\n\nSigned-off-by: Herakliusz Lipiec <herakliusz.lipiec@intel.com>\n---\n app/test-pmd/testpmd.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c\nindex 001f0e5..dacc60a 100644\n--- a/app/test-pmd/testpmd.c\n+++ b/app/test-pmd/testpmd.c\n@@ -2215,11 +2215,11 @@ eth_event_callback(portid_t port_id, enum rte_eth_event_type type, void *param,\n \tRTE_SET_USED(ret_param);\n \n \tif (type >= RTE_ETH_EVENT_MAX) {\n-\t\tfprintf(stderr, \"\\nPort %\" PRIu8 \": %s called upon invalid event %d\\n\",\n+\t\tfprintf(stderr, \"\\nPort %\" PRIu16 \": %s called upon invalid event %d\\n\",\n \t\t\tport_id, __func__, type);\n \t\tfflush(stderr);\n \t} else if (event_print_mask & (UINT32_C(1) << type)) {\n-\t\tprintf(\"\\nPort %\" PRIu8 \": %s event\\n\", port_id,\n+\t\tprintf(\"\\nPort %\" PRIu16 \": %s event\\n\", port_id,\n \t\t\tevent_desc[type]);\n \t\tfflush(stdout);\n \t}\n",
    "prefixes": []
}