get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1452,
    "url": "https://patches.dpdk.org/api/patches/1452/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1416692622-28886-4-git-send-email-thomas.monjalon@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": "<1416692622-28886-4-git-send-email-thomas.monjalon@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1416692622-28886-4-git-send-email-thomas.monjalon@6wind.com",
    "date": "2014-11-22T21:43:35",
    "name": "[dpdk-dev,03/10] eal: fix header guards",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "e247386a53ff03489cd38a045606520c0e4590bf",
    "submitter": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/people/1/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas.monjalon@6wind.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1416692622-28886-4-git-send-email-thomas.monjalon@6wind.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/1452/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/1452/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 E0F8F7FA1;\n\tSat, 22 Nov 2014 22:33:44 +0100 (CET)",
            "from mail-wi0-f171.google.com (mail-wi0-f171.google.com\n\t[209.85.212.171]) by dpdk.org (Postfix) with ESMTP id A0D6C7F38\n\tfor <dev@dpdk.org>; Sat, 22 Nov 2014 22:33:40 +0100 (CET)",
            "by mail-wi0-f171.google.com with SMTP id bs8so2387455wib.4\n\tfor <dev@dpdk.org>; Sat, 22 Nov 2014 13:44:21 -0800 (PST)",
            "from localhost.localdomain (136-92-190-109.dsl.ovh.fr.\n\t[109.190.92.136]) by mx.google.com with ESMTPSA id\n\tcz3sm13724087wjb.23.2014.11.22.13.44.19 for <dev@dpdk.org>\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tSat, 22 Nov 2014 13:44:20 -0800 (PST)"
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=/Ngj8uYDa9LO+GKLkpd5wJ38K+9vikVpQI1ca0VPLNA=;\n\tb=D7fmv6fKOwwsTI3gjwEMopJLDWX8n3OnalN8CYmBP7zhkwlAhg2PMKghIt7FOQxKx0\n\tjROIO7KK3oCLKh6l6ywH5DP9CwR359aYSb/S325i19wTYpsIVbKwoneiE8YBGlrBLdzJ\n\tUAN3WVB3/oM5DC8rzBmo9Tq/gdaazyyYR68SPH7ePraoQ6HE8NB9JV/C8KmUyzD2URHv\n\tWV6rc3KJNlNKafuyvz+RkbEYQaMwnPhq5PvQ6/jIzlUGk/lkPvLl/JDeqs3gUlTkjTqk\n\t1VUL6zaxzNXm9Xr8WXq2K0HeHcc2qdIJ6e/PRPBSo+QDPpKrLaU5V5R6u0LOhPcHbasK\n\t+LTg==",
        "X-Gm-Message-State": "ALoCoQkoCF8SWnYiZURYJrFiIlDjTEbxNLcBsXNO6fCqcbc+PY1aRTIclBd+1ci5aQ2nUSO9mBdF",
        "X-Received": "by 10.180.99.105 with SMTP id ep9mr8666046wib.82.1416692661097; \n\tSat, 22 Nov 2014 13:44:21 -0800 (PST)",
        "From": "Thomas Monjalon <thomas.monjalon@6wind.com>",
        "To": "dev@dpdk.org",
        "Date": "Sat, 22 Nov 2014 22:43:35 +0100",
        "Message-Id": "<1416692622-28886-4-git-send-email-thomas.monjalon@6wind.com>",
        "X-Mailer": "git-send-email 2.1.3",
        "In-Reply-To": "<1416692622-28886-1-git-send-email-thomas.monjalon@6wind.com>",
        "References": "<1416692622-28886-1-git-send-email-thomas.monjalon@6wind.com>",
        "Subject": "[dpdk-dev] [PATCH 03/10] eal: fix header guards",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <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": "Some guards are missing or have a wrong name.\nOthers have LINUXAPP in their name but are now common.\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n lib/librte_eal/common/eal_filesystem.h   | 6 +++---\n lib/librte_eal/common/eal_hugepages.h    | 6 +++---\n lib/librte_eal/common/eal_internal_cfg.h | 4 ++--\n lib/librte_eal/common/eal_options.h      | 4 ++++\n lib/librte_eal/common/eal_thread.h       | 6 +++---\n 5 files changed, 15 insertions(+), 11 deletions(-)",
    "diff": "diff --git a/lib/librte_eal/common/eal_filesystem.h b/lib/librte_eal/common/eal_filesystem.h\nindex ce442c9..fdb4a70 100644\n--- a/lib/librte_eal/common/eal_filesystem.h\n+++ b/lib/librte_eal/common/eal_filesystem.h\n@@ -37,8 +37,8 @@\n  * on the filesystem for Linux, that are used by the Linux EAL.\n  */\n \n-#ifndef _EAL_LINUXAPP_FILESYSTEM_H\n-#define _EAL_LINUXAPP_FILESYSTEM_H\n+#ifndef EAL_FILESYSTEM_H\n+#define EAL_FILESYSTEM_H\n \n /** Path of rte config file. */\n #define RUNTIME_CONFIG_FMT \"%s/.%s_config\"\n@@ -115,4 +115,4 @@ eal_get_hugefile_temp_path(char *buffer, size_t buflen, const char *hugedir, int\n  * Used to read information from files on /sys */\n int eal_parse_sysfs_value(const char *filename, unsigned long *val);\n \n-#endif /* _EAL_LINUXAPP_FILESYSTEM_H */\n+#endif /* EAL_FILESYSTEM_H */\ndiff --git a/lib/librte_eal/common/eal_hugepages.h b/lib/librte_eal/common/eal_hugepages.h\nindex 51e090b..38edac0 100644\n--- a/lib/librte_eal/common/eal_hugepages.h\n+++ b/lib/librte_eal/common/eal_hugepages.h\n@@ -31,8 +31,8 @@\n  *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n  */\n \n-#ifndef RTE_LINUXAPP_HUGEPAGES_H_\n-#define RTE_LINUXAPP_HUGEPAGES_H_\n+#ifndef EAL_HUGEPAGES_H\n+#define EAL_HUGEPAGES_H\n \n #include <stddef.h>\n #include <stdint.h>\n@@ -64,4 +64,4 @@ struct hugepage_file {\n  */\n int eal_hugepage_info_init(void);\n \n-#endif /* EAL_HUGEPAGES_H_ */\n+#endif /* EAL_HUGEPAGES_H */\ndiff --git a/lib/librte_eal/common/eal_internal_cfg.h b/lib/librte_eal/common/eal_internal_cfg.h\nindex 8749390..19c84e7 100644\n--- a/lib/librte_eal/common/eal_internal_cfg.h\n+++ b/lib/librte_eal/common/eal_internal_cfg.h\n@@ -36,8 +36,8 @@\n  * Holds the structures for the eal internal configuration\n  */\n \n-#ifndef _EAL_LINUXAPP_INTERNAL_CFG\n-#define _EAL_LINUXAPP_INTERNAL_CFG\n+#ifndef EAL_INTERNAL_CFG_H\n+#define EAL_INTERNAL_CFG_H\n \n #include <rte_eal.h>\n #include <rte_pci_dev_feature_defs.h>\ndiff --git a/lib/librte_eal/common/eal_options.h b/lib/librte_eal/common/eal_options.h\nindex 22819ec..7a08507 100644\n--- a/lib/librte_eal/common/eal_options.h\n+++ b/lib/librte_eal/common/eal_options.h\n@@ -30,6 +30,8 @@\n  *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n  */\n \n+#ifndef EAL_OPTIONS_H\n+#define EAL_OPTIONS_H\n \n enum {\n \t/* long options mapped to a short option */\n@@ -82,3 +84,5 @@ extern const struct option eal_long_options[];\n int eal_parse_common_option(int opt, const char *argv,\n \t\t\t    struct internal_config *conf);\n void eal_common_usage(void);\n+\n+#endif /* EAL_OPTIONS_H */\ndiff --git a/lib/librte_eal/common/eal_thread.h b/lib/librte_eal/common/eal_thread.h\nindex d029ad3..b53b84d 100644\n--- a/lib/librte_eal/common/eal_thread.h\n+++ b/lib/librte_eal/common/eal_thread.h\n@@ -31,8 +31,8 @@\n  *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n  */\n \n-#ifndef _EAL_LINUXAPP_THREAD_H_\n-#define _EAL_LINUXAPP_THREAD_H_\n+#ifndef EAL_THREAD_H\n+#define EAL_THREAD_H\n \n /**\n  * basic loop of thread, called for each thread by eal_init().\n@@ -50,4 +50,4 @@ __attribute__((noreturn)) void *eal_thread_loop(void *arg);\n  */\n void eal_thread_init_master(unsigned lcore_id);\n \n-#endif /* _EAL_LINUXAPP_PRIVATE_H_ */\n+#endif /* EAL_THREAD_H */\n",
    "prefixes": [
        "dpdk-dev",
        "03/10"
    ]
}