get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 23907,
    "url": "https://patches.dpdk.org/api/patches/23907/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/eb7fb2568f9ccc13bbd24eb0abe361590301c050.1493208189.git.adrien.mazarguil@6wind.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": "<eb7fb2568f9ccc13bbd24eb0abe361590301c050.1493208189.git.adrien.mazarguil@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/eb7fb2568f9ccc13bbd24eb0abe361590301c050.1493208189.git.adrien.mazarguil@6wind.com",
    "date": "2017-04-26T12:07:10",
    "name": "[dpdk-dev,v3,02/14] eventdev: fix errors with strict compilation flags",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "a4347ba36adb89d315036c319a63205a87b2745e",
    "submitter": {
        "id": 165,
        "url": "https://patches.dpdk.org/api/people/165/?format=api",
        "name": "Adrien Mazarguil",
        "email": "adrien.mazarguil@6wind.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/eb7fb2568f9ccc13bbd24eb0abe361590301c050.1493208189.git.adrien.mazarguil@6wind.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/23907/comments/",
    "check": "warning",
    "checks": "https://patches.dpdk.org/api/patches/23907/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 8FB375920;\n\tWed, 26 Apr 2017 14:07:42 +0200 (CEST)",
            "from mail-wm0-f49.google.com (mail-wm0-f49.google.com\n\t[74.125.82.49]) by dpdk.org (Postfix) with ESMTP id 0206E47CD\n\tfor <dev@dpdk.org>; Wed, 26 Apr 2017 14:07:36 +0200 (CEST)",
            "by mail-wm0-f49.google.com with SMTP id m123so2020003wma.0\n\tfor <dev@dpdk.org>; Wed, 26 Apr 2017 05:07:36 -0700 (PDT)",
            "from 6wind.com (host.78.145.23.62.rev.coltfrance.com.\n\t[62.23.145.78]) by smtp.gmail.com with ESMTPSA id\n\tf25sm27129wrf.13.2017.04.26.05.07.35\n\t(version=TLS1_2 cipher=AES128-SHA bits=128/128);\n\tWed, 26 Apr 2017 05:07:35 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=6wind-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=pxhc5efkyn8w3ELJHcwSY9Vz/c6IwuTsGDdTOqVvOTM=;\n\tb=SggEBETbmC80Czub6xICiF9iKgGEM3aULb4hOs64T783tSsu2N6SF0TnnX4i2ou0cu\n\toajk57mTra/IYMp8UGZFB1kHdatmyh045+rOL3bUUoHFxmaKJ0gAK3FrhiN/xrc5oM93\n\tdEHXjXecsZTb31h+v+/trwEO2PYy7NK/jdd1AI41ORdxgg/93I+6Ia1IY0UUvXESaTt1\n\tW/Q52ipOPCqBEv8RR7nCQgLGprOcQIBNsR5xv/T7XFzevQe1j7eGVpgBgKP9ZrKlPzuI\n\tfy012hfzawd1Fe6jbBJzeSXWV0yeqWpBti6F7uk30YU9BbmUrJEIk2oDGXOY7SliPN0l\n\tIAUA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=pxhc5efkyn8w3ELJHcwSY9Vz/c6IwuTsGDdTOqVvOTM=;\n\tb=OFsu4X3OZg7YRwN6sqEeaoJSKFL3tXZSE7au+9ZtHmOBd1Qu1GnBWe5xOqbj4zvagd\n\t9f35SV77rtk+BgM2puwlnbXuCscry5vphkuwmz3iZ6UB4x3wXPG1ssOvazcemFfANy4r\n\tPx7I/OOeK4rUyU7EYd63MlB9MorW0nfSORfKidyEcU/M1ukZwwCY3GsYlR651BT16pHD\n\tooh47q6IKO18Aycke5YGTFq7eWoDZvp9F/BrrRCag8pbK96v1U3ck31172lkOVa7t992\n\tAPaqSc4MEzyQJUsGWpyAczMOPNUDNfFpLqz3uMcMhuoajyrGS2GT1n4Lk2Yi0XVSuyCK\n\tqYeQ==",
        "X-Gm-Message-State": "AN3rC/7/guIuf/j/FtFV86dWMJHDxbP0h1ZMT0OCdAjlFozBt3J6zHa4\n\t8BgjEjqNPrgrdxiR",
        "X-Received": "by 10.28.24.71 with SMTP id 68mr622658wmy.64.1493208456434;\n\tWed, 26 Apr 2017 05:07:36 -0700 (PDT)",
        "From": "Adrien Mazarguil <adrien.mazarguil@6wind.com>",
        "To": "dev@dpdk.org",
        "Cc": "Jerin Jacob <jerin.jacob@caviumnetworks.com>,\n\t\"De Lara Guarch, Pablo\" <pablo.de.lara.guarch@intel.com>",
        "Date": "Wed, 26 Apr 2017 14:07:10 +0200",
        "Message-Id": "<eb7fb2568f9ccc13bbd24eb0abe361590301c050.1493208189.git.adrien.mazarguil@6wind.com>",
        "X-Mailer": "git-send-email 2.1.4",
        "In-Reply-To": "<cover.1493208189.git.adrien.mazarguil@6wind.com>",
        "References": "<cover.1493108423.git.adrien.mazarguil@6wind.com>\n\t<cover.1493208189.git.adrien.mazarguil@6wind.com>",
        "Subject": "[dpdk-dev] [PATCH v3 02/14] eventdev: fix errors with strict\n\tcompilation flags",
        "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": "Exported headers must allow compilation with the strictest flags. This\ncommit addresses the following errors:\n\n In file included from build/include/rte_eventdev_pmd.h:55:0,\n                  from /tmp/check-includes.sh.25816.c:1:\n build/include/rte_eventdev.h:908:8: error: struct has no named members\n    [-Werror=pedantic]\n [...]\n In file included from /tmp/check-includes.sh.25816.c:1:0:\n build/include/rte_eventdev_pmd.h:65:35: error: ISO C does not permit named\n    variadic macros [-Werror=variadic-macros]\n [...]\n\nFixes: 71f238432865 (\"eventdev: introduce event driven programming model\")\nFixes: 4f0804bbdfb9 (\"eventdev: implement the northbound APIs\")\n\nCc: Jerin Jacob <jerin.jacob@caviumnetworks.com>\nCc: \"De Lara Guarch, Pablo\" <pablo.de.lara.guarch@intel.com>\nSigned-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>\n---\n lib/librte_eventdev/rte_eventdev.h     |  3 +--\n lib/librte_eventdev/rte_eventdev_pmd.h | 16 +++++++++-------\n 2 files changed, 10 insertions(+), 9 deletions(-)",
    "diff": "diff --git a/lib/librte_eventdev/rte_eventdev.h b/lib/librte_eventdev/rte_eventdev.h\nindex b8ed6ef..20e7293 100644\n--- a/lib/librte_eventdev/rte_eventdev.h\n+++ b/lib/librte_eventdev/rte_eventdev.h\n@@ -905,9 +905,9 @@ rte_event_dev_close(uint8_t dev_id);\n  * The generic *rte_event* structure to hold the event attributes\n  * for dequeue and enqueue operation\n  */\n+RTE_STD_C11\n struct rte_event {\n \t/** WORD0 */\n-\tRTE_STD_C11\n \tunion {\n \t\tuint64_t event;\n \t\t/** Event attributes for dequeue or enqueue operation */\n@@ -967,7 +967,6 @@ struct rte_event {\n \t\t};\n \t};\n \t/** WORD1 */\n-\tRTE_STD_C11\n \tunion {\n \t\tuint64_t u64;\n \t\t/**< Opaque 64-bit value */\ndiff --git a/lib/librte_eventdev/rte_eventdev_pmd.h b/lib/librte_eventdev/rte_eventdev_pmd.h\nindex a73dc91..988018f 100644\n--- a/lib/librte_eventdev/rte_eventdev_pmd.h\n+++ b/lib/librte_eventdev/rte_eventdev_pmd.h\n@@ -62,16 +62,18 @@ extern \"C\" {\n #endif\n \n /* Logging Macros */\n-#define RTE_EDEV_LOG_ERR(fmt, args...) \\\n-\tRTE_LOG(ERR, EVENTDEV, \"%s() line %u: \" fmt \"\\n\",  \\\n-\t\t\t__func__, __LINE__, ## args)\n+#define RTE_EDEV_LOG_ERR(...) \\\n+\tRTE_LOG(ERR, EVENTDEV, \\\n+\t\tRTE_FMT(\"%s() line %u: \" RTE_FMT_HEAD(__VA_ARGS__,) \"\\n\", \\\n+\t\t\t__func__, __LINE__, RTE_FMT_TAIL(__VA_ARGS__,)))\n \n #ifdef RTE_LIBRTE_EVENTDEV_DEBUG\n-#define RTE_EDEV_LOG_DEBUG(fmt, args...) \\\n-\tRTE_LOG(DEBUG, EVENTDEV, \"%s() line %u: \" fmt \"\\n\",  \\\n-\t\t\t__func__, __LINE__, ## args)\n+#define RTE_EDEV_LOG_DEBUG(...) \\\n+\tRTE_LOG(DEBUG, EVENTDEV, \\\n+\t\tRTE_FMT(\"%s() line %u: \" RTE_FMT_HEAD(__VA_ARGS__,) \"\\n\", \\\n+\t\t\t__func__, __LINE__, RTE_FMT_TAIL(__VA_ARGS__,)))\n #else\n-#define RTE_EDEV_LOG_DEBUG(fmt, args...) (void)0\n+#define RTE_EDEV_LOG_DEBUG(...) (void)0\n #endif\n \n /* Macros to check for valid device */\n",
    "prefixes": [
        "dpdk-dev",
        "v3",
        "02/14"
    ]
}