Show a patch.

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

{
    "id": 71,
    "url": "https://patches.dpdk.org/api/patches/71/?format=api",
    "web_url": "https://patches.dpdk.org/patch/71/",
    "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"
    },
    "msgid": "<1405914461-19335-4-git-send-email-mhall@mhcomputing.net>",
    "date": "2014-07-21T03:47:40",
    "name": "[dpdk-dev,3/4] examples/*: -Wno-switch required for weird ioctl() ID's",
    "commit_ref": null,
    "pull_url": null,
    "state": "rejected",
    "archived": true,
    "hash": "227b58f24b4aff24223fca836eab43da7dd21683",
    "submitter": {
        "id": 37,
        "url": "https://patches.dpdk.org/api/people/37/?format=api",
        "name": "Matthew Hall",
        "email": "mhall@mhcomputing.net"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/patch/71/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/71/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/71/checks/",
    "tags": {},
    "headers": {
        "From": "Matthew Hall <mhall@mhcomputing.net>",
        "X-Mailman-Version": "2.1.15",
        "X-Mailer": "git-send-email 1.9.1",
        "List-Post": "<mailto:dev@dpdk.org>",
        "Return-Path": "<mhall@mhcomputing.net>",
        "In-Reply-To": "<1405914461-19335-1-git-send-email-mhall@mhcomputing.net>",
        "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>",
        "Received": [
            "from mail.mhcomputing.net (master.mhcomputing.net [74.208.46.186])\n\tby dpdk.org (Postfix) with ESMTP id 4A186B361\n\tfor <dev@dpdk.org>; Mon, 21 Jul 2014 05:47:31 +0200 (CEST)",
            "from syslog-sdn.mhcomputing.net\n\t(172-3-139-73.lightspeed.sntcca.sbcglobal.net [172.3.139.73])\n\tby mail.mhcomputing.net (Postfix) with ESMTPSA id DC49080A158;\n\tSun, 20 Jul 2014 20:48:11 -0700 (PDT)"
        ],
        "References": "<1405914461-19335-1-git-send-email-mhall@mhcomputing.net>",
        "Precedence": "list",
        "X-BeenThere": "dev@dpdk.org",
        "To": "dev@dpdk.org",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "Message-Id": "<1405914461-19335-4-git-send-email-mhall@mhcomputing.net>",
        "X-List-Received-Date": "Mon, 21 Jul 2014 03:47:31 -0000",
        "Date": "Sun, 20 Jul 2014 20:47:40 -0700",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "Subject": "[dpdk-dev] [PATCH 3/4] examples/*: -Wno-switch required for weird\n\tioctl() ID's"
    },
    "content": "Signed-off-by: Matthew Hall <mhall@mhcomputing.net>\n---\n examples/multi_process/client_server_mp/mp_client/Makefile | 1 +\n examples/multi_process/client_server_mp/mp_server/Makefile | 1 +\n examples/multi_process/l2fwd_fork/Makefile                 | 1 +\n examples/multi_process/simple_mp/Makefile                  | 1 +\n examples/multi_process/symmetric_mp/Makefile               | 1 +\n examples/netmap_compat/Makefile                            | 2 ++\n examples/netmap_compat/bridge/Makefile                     | 1 +\n examples/vhost/Makefile                                    | 1 +\n 8 files changed, 9 insertions(+)",
    "diff": "diff --git a/examples/multi_process/client_server_mp/mp_client/Makefile b/examples/multi_process/client_server_mp/mp_client/Makefile\nindex 2688fed..ba2481d 100644\n--- a/examples/multi_process/client_server_mp/mp_client/Makefile\n+++ b/examples/multi_process/client_server_mp/mp_client/Makefile\n@@ -43,6 +43,7 @@ APP = mp_client\n SRCS-y := client.c\n \n CFLAGS += $(WERROR_FLAGS) -O3\n+CFLAGS += -Wno-switch\n CFLAGS += -I$(SRCDIR)/../shared\n \n include $(RTE_SDK)/mk/rte.extapp.mk\ndiff --git a/examples/multi_process/client_server_mp/mp_server/Makefile b/examples/multi_process/client_server_mp/mp_server/Makefile\nindex c29e478..bf96c30 100644\n--- a/examples/multi_process/client_server_mp/mp_server/Makefile\n+++ b/examples/multi_process/client_server_mp/mp_server/Makefile\n@@ -52,6 +52,7 @@ SRCS-y := main.c init.c args.c\n INC := $(wildcard *.h)\n \n CFLAGS += $(WERROR_FLAGS) -O3\n+CFLAGS += -Wno-switch\n CFLAGS += -I$(SRCDIR)/../shared\n \n # for newer gcc, e.g. 4.4, no-strict-aliasing may not be necessary\ndiff --git a/examples/multi_process/l2fwd_fork/Makefile b/examples/multi_process/l2fwd_fork/Makefile\nindex ff257a3..2c5a808 100644\n--- a/examples/multi_process/l2fwd_fork/Makefile\n+++ b/examples/multi_process/l2fwd_fork/Makefile\n@@ -46,5 +46,6 @@ SRCS-y := main.c flib.c\n \n CFLAGS += -O3\n CFLAGS += $(WERROR_FLAGS)\n+CFLAGS += -Wno-switch\n \n include $(RTE_SDK)/mk/rte.extapp.mk\ndiff --git a/examples/multi_process/simple_mp/Makefile b/examples/multi_process/simple_mp/Makefile\nindex 31ec0c8..dd43814 100644\n--- a/examples/multi_process/simple_mp/Makefile\n+++ b/examples/multi_process/simple_mp/Makefile\n@@ -46,5 +46,6 @@ SRCS-y := main.c mp_commands.c\n \n CFLAGS += -O3\n CFLAGS += $(WERROR_FLAGS)\n+CFLAGS += -Wno-switch\n \n include $(RTE_SDK)/mk/rte.extapp.mk\ndiff --git a/examples/multi_process/symmetric_mp/Makefile b/examples/multi_process/symmetric_mp/Makefile\nindex c789f3c..9f1d184 100644\n--- a/examples/multi_process/symmetric_mp/Makefile\n+++ b/examples/multi_process/symmetric_mp/Makefile\n@@ -46,5 +46,6 @@ SRCS-y := main.c\n \n CFLAGS += -O3\n CFLAGS += $(WERROR_FLAGS)\n+CFLAGS += -Wno-switch\n \n include $(RTE_SDK)/mk/rte.extapp.mk\ndiff --git a/examples/netmap_compat/Makefile b/examples/netmap_compat/Makefile\nindex d398e5f..4ee8c60 100644\n--- a/examples/netmap_compat/Makefile\n+++ b/examples/netmap_compat/Makefile\n@@ -38,6 +38,8 @@ unexport RTE_SRCDIR RTE_OUTPUT RTE_EXTMK\n \n DIRS-y += bridge\n \n+CFLAGS += -Wno-switch\n+\n .PHONY: all clean $(DIRS-y)\n \n all: $(DIRS-y)\ndiff --git a/examples/netmap_compat/bridge/Makefile b/examples/netmap_compat/bridge/Makefile\nindex 50d96e8..f91a634 100644\n--- a/examples/netmap_compat/bridge/Makefile\n+++ b/examples/netmap_compat/bridge/Makefile\n@@ -56,6 +56,7 @@ SRCS-y += compat_netmap.c\n \n CFLAGS += -O3 -I$(SRCDIR)/../lib -I$(SRCDIR)/../netmap\n CFLAGS += $(WERROR_FLAGS)\n+CFLAGS += -Wno-switch\n \n include $(RTE_SDK)/mk/rte.extapp.mk\n \ndiff --git a/examples/vhost/Makefile b/examples/vhost/Makefile\nindex f45f83f..2c1f0ba 100644\n--- a/examples/vhost/Makefile\n+++ b/examples/vhost/Makefile\n@@ -53,6 +53,7 @@ SRCS-y := main.c virtio-net.c vhost-net-cdev.c\n \n CFLAGS += -O2 -I/usr/local/include -D_FILE_OFFSET_BITS=64 -Wno-unused-parameter\n CFLAGS += $(WERROR_FLAGS)\n+CFLAGS += -Wno-switch\n LDFLAGS += -lfuse\n \n include $(RTE_SDK)/mk/rte.extapp.mk\n",
    "prefixes": [
        "dpdk-dev",
        "3/4"
    ]
}