get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 5139,
    "url": "https://patches.dpdk.org/api/patches/5139/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1433429007-4640-3-git-send-email-stephen@networkplumber.org/",
    "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": "<1433429007-4640-3-git-send-email-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1433429007-4640-3-git-send-email-stephen@networkplumber.org",
    "date": "2015-06-04T14:43:20",
    "name": "[dpdk-dev,2/9] eal: fix whitespace",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "36553f206d91da315ecb363d520586b04a6065da",
    "submitter": {
        "id": 27,
        "url": "https://patches.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1433429007-4640-3-git-send-email-stephen@networkplumber.org/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/5139/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/5139/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 16DCDC37E;\n\tThu,  4 Jun 2015 16:43:32 +0200 (CEST)",
            "from mail-qc0-f180.google.com (mail-qc0-f180.google.com\n\t[209.85.216.180]) by dpdk.org (Postfix) with ESMTP id F0BF7C36E\n\tfor <dev@dpdk.org>; Thu,  4 Jun 2015 16:43:30 +0200 (CEST)",
            "by qcmi9 with SMTP id i9so18492880qcm.0\n\tfor <dev@dpdk.org>; Thu, 04 Jun 2015 07:43:30 -0700 (PDT)",
            "from urahara.home.lan (static-50-53-82-155.bvtn.or.frontiernet.net.\n\t[50.53.82.155]) by mx.google.com with ESMTPSA id\n\td24sm2469320qkh.45.2015.06.04.07.43.29\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tThu, 04 Jun 2015 07:43:29 -0700 (PDT)"
        ],
        "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:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=A2lwQv6FLhEC1LPFGyrbzzGCKjnUsjU6Q1arHWpmdho=;\n\tb=Rh3D//R5BvtzMh99O1uT7Fzu1gnmy8ndjofZGRwz7f5JzNX9wCdTmhFW8PPgnSDLsw\n\tyZ910+Oy1d+DnZvddl0XIBjL+r870laCj/oz8aeiF13uKfrnYXtU4MfP1kOIn1LKW13e\n\tQ/dirb2zxX2yubNFXzz7EdwDM3kfEMM5o4BseCV/nEZCuYekwuq+jBG1ZIWYaXODjIgL\n\tMe8mgdnwGtT0f3u98Wia7ziK7TmNvVEvcMakGGZk9RzSPipxO/ygss7Qp2hYJXURnmpZ\n\tuzIHeTQBCJbB9qnt2MYl4qwwW27tMcC33zY6Kh/4MxfaNNkBmn2jRlm84dFybj0hxd17\n\tRmqw==",
        "X-Gm-Message-State": "ALoCoQl12p4wT0Wz3ZuqhFCXe2t9Sx+e4hnz+GwY53Y65+NXNSyaKeQtHKkfc7I/i24BSr6lN0Vc",
        "X-Received": "by 10.140.108.201 with SMTP id j67mr42327802qgf.79.1433429010545;\n\tThu, 04 Jun 2015 07:43:30 -0700 (PDT)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Date": "Thu,  4 Jun 2015 07:43:20 -0700",
        "Message-Id": "<1433429007-4640-3-git-send-email-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.1.4",
        "In-Reply-To": "<1433429007-4640-1-git-send-email-stephen@networkplumber.org>",
        "References": "<1433429007-4640-1-git-send-email-stephen@networkplumber.org>",
        "Cc": "Stephen Hemminger <shemming@brocade.com>",
        "Subject": "[dpdk-dev] [PATCH 2/9] eal: fix whitespace",
        "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": "From: Stephen Hemminger <shemming@brocade.com>\n\nEliminate trailing whitespace, space after tabs, and extra blank lines\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n lib/librte_eal/bsdapp/contigmem/contigmem.c        |  1 -\n lib/librte_eal/bsdapp/eal/Makefile                 |  1 -\n lib/librte_eal/bsdapp/eal/eal.c                    |  1 -\n lib/librte_eal/bsdapp/eal/eal_interrupts.c         |  1 -\n lib/librte_eal/common/eal_common_hexdump.c         |  3 +--\n lib/librte_eal/common/eal_common_launch.c          |  1 -\n lib/librte_eal/common/eal_common_log.c             |  1 -\n lib/librte_eal/common/include/generic/rte_cycles.h |  8 ++++----\n lib/librte_eal/common/include/rte_hexdump.h        | 20 ++++++++++----------\n lib/librte_eal/common/include/rte_interrupts.h     |  1 -\n lib/librte_eal/common/include/rte_memory.h         |  2 +-\n lib/librte_eal/common/include/rte_pci.h            | 10 +++++-----\n lib/librte_eal/linuxapp/eal/Makefile               |  1 -\n lib/librte_eal/linuxapp/eal/eal_interrupts.c       |  1 -\n lib/librte_eal/linuxapp/xen_dom0/dom0_mm_misc.c    |  2 +-\n 15 files changed, 22 insertions(+), 32 deletions(-)",
    "diff": "diff --git a/lib/librte_eal/bsdapp/contigmem/contigmem.c b/lib/librte_eal/bsdapp/contigmem/contigmem.c\nindex 6634daa..8ac836d 100644\n--- a/lib/librte_eal/bsdapp/contigmem/contigmem.c\n+++ b/lib/librte_eal/bsdapp/contigmem/contigmem.c\n@@ -230,4 +230,3 @@ contigmem_mmap_single(struct cdev *cdev, vm_ooffset_t *offset, vm_size_t size,\n \n \treturn (0);\n }\n-\ndiff --git a/lib/librte_eal/bsdapp/eal/Makefile b/lib/librte_eal/bsdapp/eal/Makefile\nindex 3d1d9eb..c73ffb6 100644\n--- a/lib/librte_eal/bsdapp/eal/Makefile\n+++ b/lib/librte_eal/bsdapp/eal/Makefile\n@@ -99,4 +99,3 @@ SYMLINK-$(CONFIG_RTE_LIBRTE_EAL_BSDAPP)-include/exec-env := \\\n DEPDIRS-$(CONFIG_RTE_LIBRTE_EAL_BSDAPP) += lib/librte_eal/common\n \n include $(RTE_SDK)/mk/rte.lib.mk\n-\ndiff --git a/lib/librte_eal/bsdapp/eal/eal.c b/lib/librte_eal/bsdapp/eal/eal.c\nindex 43e8a47..7bd392f 100644\n--- a/lib/librte_eal/bsdapp/eal/eal.c\n+++ b/lib/librte_eal/bsdapp/eal/eal.c\n@@ -569,4 +569,3 @@ rte_eal_process_type(void)\n {\n \treturn (rte_config.process_type);\n }\n-\ndiff --git a/lib/librte_eal/bsdapp/eal/eal_interrupts.c b/lib/librte_eal/bsdapp/eal/eal_interrupts.c\nindex cb7d4f1..26a55c7 100644\n--- a/lib/librte_eal/bsdapp/eal/eal_interrupts.c\n+++ b/lib/librte_eal/bsdapp/eal/eal_interrupts.c\n@@ -68,4 +68,3 @@ rte_eal_intr_init(void)\n {\n \treturn 0;\n }\n-\ndiff --git a/lib/librte_eal/common/eal_common_hexdump.c b/lib/librte_eal/common/eal_common_hexdump.c\nindex 6135133..d5cbd70 100644\n--- a/lib/librte_eal/common/eal_common_hexdump.c\n+++ b/lib/librte_eal/common/eal_common_hexdump.c\n@@ -103,7 +103,7 @@ rte_memdump(FILE *f, const char * title, const void * buf, unsigned int len)\n \n     line[0] = '\\0';\n     for (i = 0, out = 0; i < len; i++) {\n-    \t// Make sure we do not overrun the line buffer length.\n+\t// Make sure we do not overrun the line buffer length.\n \t\tif ( out >= (LINE_LEN - 4) ) {\n \t\t\tfprintf(f, \"%s\", line);\n \t\t\tout = 0;\n@@ -118,4 +118,3 @@ rte_memdump(FILE *f, const char * title, const void * buf, unsigned int len)\n \n     fflush(f);\n }\n-\ndiff --git a/lib/librte_eal/common/eal_common_launch.c b/lib/librte_eal/common/eal_common_launch.c\nindex 152d1c3..229c3a0 100644\n--- a/lib/librte_eal/common/eal_common_launch.c\n+++ b/lib/librte_eal/common/eal_common_launch.c\n@@ -116,4 +116,3 @@ rte_eal_mp_wait_lcore(void)\n \t\trte_eal_wait_lcore(lcore_id);\n \t}\n }\n-\ndiff --git a/lib/librte_eal/common/eal_common_log.c b/lib/librte_eal/common/eal_common_log.c\nindex fe3d7d5..c903aa9 100644\n--- a/lib/librte_eal/common/eal_common_log.c\n+++ b/lib/librte_eal/common/eal_common_log.c\n@@ -331,4 +331,3 @@ rte_eal_common_log_init(FILE *default_log)\n \trte_openlog_stream(default_log);\n \treturn 0;\n }\n-\ndiff --git a/lib/librte_eal/common/include/generic/rte_cycles.h b/lib/librte_eal/common/include/generic/rte_cycles.h\nindex 7700f41..8cc21f2 100644\n--- a/lib/librte_eal/common/include/generic/rte_cycles.h\n+++ b/lib/librte_eal/common/include/generic/rte_cycles.h\n@@ -130,12 +130,12 @@ rte_get_hpet_hz(void);\n  * then the HPET functions are unavailable and should not be called.\n  *\n  * @param make_default\n- * \tIf set, the hpet timer becomes the default timer whose values are\n- * \treturned by the rte_get_timer_hz/cycles API calls\n+ *\tIf set, the hpet timer becomes the default timer whose values are\n+ *\treturned by the rte_get_timer_hz/cycles API calls\n  *\n  * @return\n- * \t0 on success,\n- * \t-1 on error, and the make_default parameter is ignored.\n+ *\t0 on success,\n+ *\t-1 on error, and the make_default parameter is ignored.\n  */\n int rte_eal_hpet_init(int make_default);\n \ndiff --git a/lib/librte_eal/common/include/rte_hexdump.h b/lib/librte_eal/common/include/rte_hexdump.h\nindex 891c77b..5c18a50 100644\n--- a/lib/librte_eal/common/include/rte_hexdump.h\n+++ b/lib/librte_eal/common/include/rte_hexdump.h\n@@ -49,15 +49,15 @@ extern \"C\" {\n * Dump out memory in a special hex dump format.\n *\n * @param f\n-*   \t\tA pointer to a file for output\n+*\t\tA pointer to a file for output\n * @param title\n-* \t\tIf not NULL this string is printed as a header to the output.\n+*\t\tIf not NULL this string is printed as a header to the output.\n * @param buf\n-* \t\tThis is the buffer address to print out.\n+*\t\tThis is the buffer address to print out.\n * @param len\n-* \t\tThe number of bytes to dump out\n+*\t\tThe number of bytes to dump out\n * @return\n-* \t\tNone.\n+*\t\tNone.\n */\n \n extern void\n@@ -67,15 +67,15 @@ rte_hexdump(FILE *f, const char * title, const void * buf, unsigned int len);\n * Dump out memory in a hex format with colons between bytes.\n *\n * @param f\n-*   \t\tA pointer to a file for output\n+*\t\tA pointer to a file for output\n * @param title\n-* \t\tIf not NULL this string is printed as a header to the output.\n+*\t\tIf not NULL this string is printed as a header to the output.\n * @param buf\n-* \t\tThis is the buffer address to print out.\n+*\t\tThis is the buffer address to print out.\n * @param len\n-* \t\tThe number of bytes to dump out\n+*\t\tThe number of bytes to dump out\n * @return\n-* \t\tNone.\n+*\t\tNone.\n */\n \n void\ndiff --git a/lib/librte_eal/common/include/rte_interrupts.h b/lib/librte_eal/common/include/rte_interrupts.h\nindex 609c34b..ff11ef3 100644\n--- a/lib/librte_eal/common/include/rte_interrupts.h\n+++ b/lib/librte_eal/common/include/rte_interrupts.h\n@@ -118,4 +118,3 @@ int rte_intr_disable(struct rte_intr_handle *intr_handle);\n #endif\n \n #endif\n-\ndiff --git a/lib/librte_eal/common/include/rte_memory.h b/lib/librte_eal/common/include/rte_memory.h\nindex 7f8103f..d948c0b 100644\n--- a/lib/librte_eal/common/include/rte_memory.h\n+++ b/lib/librte_eal/common/include/rte_memory.h\n@@ -196,7 +196,7 @@ phys_addr_t rte_mem_phy2mch(uint32_t memseg_id, const phys_addr_t phy_addr);\n  *\n  * @return\n  *       0: successfully\n- *    \t negative: error\n+ *\t negative: error\n  */\n int rte_xen_dom0_memory_init(void);\n \ndiff --git a/lib/librte_eal/common/include/rte_pci.h b/lib/librte_eal/common/include/rte_pci.h\nindex a346532..b4f38bc 100644\n--- a/lib/librte_eal/common/include/rte_pci.h\n+++ b/lib/librte_eal/common/include/rte_pci.h\n@@ -239,10 +239,10 @@ do {                                                               \\\n  * a domain prefix (i.e. domain returned is always 0)\n  *\n  * @param input\n- * \tThe input string to be parsed. Should have the format XX:XX.X\n+ *\tThe input string to be parsed. Should have the format XX:XX.X\n  * @param dev_addr\n- * \tThe PCI Bus-Device-Function address to be returned. Domain will always be\n- * \treturned as 0\n+ *\tThe PCI Bus-Device-Function address to be returned. Domain will always be\n+ *\treturned as 0\n  * @return\n  *  0 on success, negative on error.\n  */\n@@ -262,9 +262,9 @@ eal_parse_pci_BDF(const char *input, struct rte_pci_addr *dev_addr)\n  * a domain prefix.\n  *\n  * @param input\n- * \tThe input string to be parsed. Should have the format XXXX:XX:XX.X\n+ *\tThe input string to be parsed. Should have the format XXXX:XX:XX.X\n  * @param dev_addr\n- * \tThe PCI Bus-Device-Function address to be returned\n+ *\tThe PCI Bus-Device-Function address to be returned\n  * @return\n  *  0 on success, negative on error.\n  */\ndiff --git a/lib/librte_eal/linuxapp/eal/Makefile b/lib/librte_eal/linuxapp/eal/Makefile\nindex 077ea99..e99d7a3 100644\n--- a/lib/librte_eal/linuxapp/eal/Makefile\n+++ b/lib/librte_eal/linuxapp/eal/Makefile\n@@ -119,4 +119,3 @@ SYMLINK-$(CONFIG_RTE_LIBRTE_EAL_LINUXAPP)-include/exec-env := \\\n DEPDIRS-$(CONFIG_RTE_LIBRTE_EAL_LINUXAPP) += lib/librte_eal/common\n \n include $(RTE_SDK)/mk/rte.lib.mk\n-\ndiff --git a/lib/librte_eal/linuxapp/eal/eal_interrupts.c b/lib/librte_eal/linuxapp/eal/eal_interrupts.c\nindex 3a84b3c..a6325c6 100644\n--- a/lib/librte_eal/linuxapp/eal/eal_interrupts.c\n+++ b/lib/librte_eal/linuxapp/eal/eal_interrupts.c\n@@ -894,4 +894,3 @@ rte_eal_intr_init(void)\n \n \treturn -ret;\n }\n-\ndiff --git a/lib/librte_eal/linuxapp/xen_dom0/dom0_mm_misc.c b/lib/librte_eal/linuxapp/xen_dom0/dom0_mm_misc.c\nindex 543bf57..bfe0af8 100644\n--- a/lib/librte_eal/linuxapp/xen_dom0/dom0_mm_misc.c\n+++ b/lib/librte_eal/linuxapp/xen_dom0/dom0_mm_misc.c\n@@ -463,7 +463,7 @@ dom0_memory_reserve(uint32_t rsv_size)\n \t}\n \n \tsort_viraddr(rsv_mm_info, num_block);\n-\t\n+\n \tfor (i = 0; i< num_block; i++) {\n \n \t\t/*\n",
    "prefixes": [
        "dpdk-dev",
        "2/9"
    ]
}