get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 28980,
    "url": "http://patches.dpdk.org/api/patches/28980/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1505896277-125758-1-git-send-email-yi.y.yang@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": "<1505896277-125758-1-git-send-email-yi.y.yang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1505896277-125758-1-git-send-email-yi.y.yang@intel.com",
    "date": "2017-09-20T08:31:17",
    "name": "[dpdk-dev] service: fix compilation error",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "f8e09a0e0904b5185a30a0aa5090e495c5f29eab",
    "submitter": {
        "id": 838,
        "url": "http://patches.dpdk.org/api/people/838/?format=api",
        "name": "Yi Yang",
        "email": "yi.y.yang@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1505896277-125758-1-git-send-email-yi.y.yang@intel.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/28980/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/28980/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 869FB9FE;\n\tWed, 20 Sep 2017 10:35:36 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby dpdk.org (Postfix) with ESMTP id 3A55423B\n\tfor <dev@dpdk.org>; Wed, 20 Sep 2017 10:35:34 +0200 (CEST)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t20 Sep 2017 01:35:33 -0700",
            "from unknown (HELO localhost.localdomain.bj.intel.com)\n\t([10.240.224.185])\n\tby fmsmga001.fm.intel.com with ESMTP; 20 Sep 2017 01:35:32 -0700"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos; i=\"5.42,420,1500966000\"; d=\"scan'208\";\n\ta=\"1197093793\"",
        "From": "Yi Yang <yi.y.yang@intel.com>",
        "To": "harry.van.haaren@intel.com",
        "Cc": "dev@dpdk.org,\n\tYi Yang <yi.y.yang@intel.com>",
        "Date": "Wed, 20 Sep 2017 16:31:17 +0800",
        "Message-Id": "<1505896277-125758-1-git-send-email-yi.y.yang@intel.com>",
        "X-Mailer": "git-send-email 2.1.0",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH] service: fix compilation error",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "CC rte_service.o\n  ./dpdk/lib/librte_eal/common/rte_service.c: In function\n    ‘rte_service_start_with_defaults’:\n  ./dpdk/lib/librte_eal/common/rte_service.c:449:9:\n    error: ‘ids[0]’ may be used uninitialized in this\n    function [-Werror=maybe-uninitialized]\n   ret = rte_service_map_lcore_set(i, ids[lcore_iter], 1);\n\n  cc1: all warnings being treated as errors\n  ./dpdk/mk/internal/rte.compile-pre.mk:138:\n    recipe for target 'rte_service.o' failed\n\nSigned-off-by: Yi Yang <yi.y.yang@intel.com>\n---\n lib/librte_eal/common/rte_service.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/lib/librte_eal/common/rte_service.c b/lib/librte_eal/common/rte_service.c\nindex 43716bb..e598e16 100644\n--- a/lib/librte_eal/common/rte_service.c\n+++ b/lib/librte_eal/common/rte_service.c\n@@ -431,7 +431,7 @@ rte_service_start_with_defaults(void)\n \tuint32_t count = rte_service_get_count();\n \n \tint32_t lcore_iter = 0;\n-\tuint32_t ids[RTE_MAX_LCORE];\n+\tuint32_t ids[RTE_MAX_LCORE] = {0};\n \tint32_t lcore_count = rte_service_lcore_list(ids, RTE_MAX_LCORE);\n \n \tif (lcore_count == 0)\n",
    "prefixes": [
        "dpdk-dev"
    ]
}