get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 83899,
    "url": "http://patches.dpdk.org/api/patches/83899/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20201110151219.4893-8-david.marchand@redhat.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": "<20201110151219.4893-8-david.marchand@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201110151219.4893-8-david.marchand@redhat.com",
    "date": "2020-11-10T15:12:16",
    "name": "[07/10] examples/vhost_blk: fix build with pkg-config",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "9f029c2ab8aa202bd86a87404e5e6b69627dad42",
    "submitter": {
        "id": 1173,
        "url": "http://patches.dpdk.org/api/people/1173/?format=api",
        "name": "David Marchand",
        "email": "david.marchand@redhat.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20201110151219.4893-8-david.marchand@redhat.com/mbox/",
    "series": [
        {
            "id": 13775,
            "url": "http://patches.dpdk.org/api/series/13775/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13775",
            "date": "2020-11-10T15:12:09",
            "name": "Examples compilation fixes",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/13775/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/83899/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/83899/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 4EC57A04DB;\n\tTue, 10 Nov 2020 16:15:17 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 09F116889;\n\tTue, 10 Nov 2020 16:13:09 +0100 (CET)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [63.128.21.124])\n by dpdk.org (Postfix) with ESMTP id 8D2625953\n for <dev@dpdk.org>; Tue, 10 Nov 2020 16:13:06 +0100 (CET)",
            "from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com\n [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id\n us-mta-224-mmf_JBxZN8yF_yoll_Uifg-1; Tue, 10 Nov 2020 10:13:01 -0500",
            "from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com\n [10.5.11.13])\n (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n (No client certificate requested)\n by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0E2E26D590;\n Tue, 10 Nov 2020 15:12:59 +0000 (UTC)",
            "from dmarchan.remote.csb (unknown [10.40.193.78])\n by smtp.corp.redhat.com (Postfix) with ESMTP id E0FE86EF74;\n Tue, 10 Nov 2020 15:12:49 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1605021185;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=DjDIxCDQmLsnA/Bn9GB8Uw0hLBDmjQQquJs56Mz5wMM=;\n b=dYdJpavIZThB2e5MqKllF6eTxDymP8WaDc5+nwzITdB5CaikA2uYckD6PPCMO3Agt2b0dC\n PMLuGSWcZUqKGGtbE0Fa14aVIUMuFLFI7jmcAeB1r6J7lEqwxCAbdVEl0Cqm2C0qfeo4tM\n q2nan7JmYYVlGR7dmcCx0VsGDSlLjgM=",
        "X-MC-Unique": "mmf_JBxZN8yF_yoll_Uifg-1",
        "From": "David Marchand <david.marchand@redhat.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net, bruce.richardson@intel.com,\n Maxime Coquelin <maxime.coquelin@redhat.com>,\n Chenbo Xia <chenbo.xia@intel.com>, Jin Yu <jin.yu@intel.com>",
        "Date": "Tue, 10 Nov 2020 16:12:16 +0100",
        "Message-Id": "<20201110151219.4893-8-david.marchand@redhat.com>",
        "In-Reply-To": "<20201110151219.4893-1-david.marchand@redhat.com>",
        "References": "<20201110151219.4893-1-david.marchand@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.13",
        "Authentication-Results": "relay.mimecast.com;\n auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david.marchand@redhat.com",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH 07/10] examples/vhost_blk: fix build with\n\tpkg-config",
        "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 <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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "vhost_blk.c: In function ‘ctrlr_worker’:\nvhost_blk.c:543:2: warning: implicit declaration of function ‘CPU_ZERO’\n[-Wimplicit-function-declaration]\n  543 |  CPU_ZERO(&cpuset);\n      |  ^~~~~~~~\nvhost_blk.c:544:2: warning: implicit declaration of function ‘CPU_SET’\n[-Wimplicit-function-declaration]\n  544 |  CPU_SET(0, &cpuset);\n      |  ^~~~~~~\nvhost_blk.c:545:2: warning: implicit declaration of function\n‘pthread_setaffinity_np’ [-Wimplicit-function-declaration]\n  545 |  pthread_setaffinity_np(thread, sizeof(cpu_set_t), &cpuset);\n      |  ^~~~~~~~~~~~~~~~~~~~~~\n/usr/bin/ld: /tmp/cczpiMWH.o: in function `ctrlr_worker':\nvhost_blk.c:(.text+0x1076): undefined reference to `CPU_ZERO'\n/usr/bin/ld: vhost_blk.c:(.text+0x1082): undefined reference to\n`CPU_SET'\ncollect2: error: ld returned 1 exit status\ngmake: *** [Makefile:34: build/vhost-blk-shared] Error 1\n\nExplicitly pass _GNU_SOURCE and include missing headers (rather than\nrely on automagic inclusion from other system headers).\n\nFixes: c19beb3f38cd (\"examples/vhost_blk: introduce vhost storage sample\")\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\n examples/vhost_blk/vhost_blk.c | 6 ++++++\n 1 file changed, 6 insertions(+)",
    "diff": "diff --git a/examples/vhost_blk/vhost_blk.c b/examples/vhost_blk/vhost_blk.c\nindex 8f5d61a589..bb293d492f 100644\n--- a/examples/vhost_blk/vhost_blk.c\n+++ b/examples/vhost_blk/vhost_blk.c\n@@ -2,6 +2,12 @@\n  * Copyright(c) 2010-2019 Intel Corporation\n  */\n \n+#ifndef _GNU_SOURCE\n+#define _GNU_SOURCE\n+#endif\n+#include <pthread.h>\n+#include <sched.h>\n+\n #include <stdint.h>\n #include <unistd.h>\n #include <stdbool.h>\n",
    "prefixes": [
        "07/10"
    ]
}