get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 6695,
    "url": "http://patches.dpdk.org/api/patches/6695/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1438680651-19940-1-git-send-email-xiaobo.chi@nokia.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": "<1438680651-19940-1-git-send-email-xiaobo.chi@nokia.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1438680651-19940-1-git-send-email-xiaobo.chi@nokia.com",
    "date": "2015-08-04T09:30:51",
    "name": "[dpdk-dev] set eventfd_link_misc.minor=MISC_DYNAMIC_MINOR",
    "commit_ref": null,
    "pull_url": null,
    "state": "deferred",
    "archived": true,
    "hash": "38ff1e65b682296ce2564612c83e619ccd7e321c",
    "submitter": {
        "id": 299,
        "url": "http://patches.dpdk.org/api/people/299/?format=api",
        "name": "chixiaobo",
        "email": "xiaobo.chi@nokia.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1438680651-19940-1-git-send-email-xiaobo.chi@nokia.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/6695/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/6695/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 18AECC35A;\n\tTue,  4 Aug 2015 11:30:56 +0200 (CEST)",
            "from demumfd001.nsn-inter.net (demumfd001.nsn-inter.net\n\t[93.183.12.32]) by dpdk.org (Postfix) with ESMTP id 24EE5C350\n\tfor <dev@dpdk.org>; Tue,  4 Aug 2015 11:30:54 +0200 (CEST)",
            "from demuprx017.emea.nsn-intra.net ([10.150.129.56])\n\tby demumfd001.nsn-inter.net (8.15.1/8.15.1) with ESMTPS id\n\tt749UrHE024363\n\t(version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK)\n\tfor <dev@dpdk.org>; Tue, 4 Aug 2015 09:30:53 GMT",
            "from localhost ([10.140.178.105])\n\tby demuprx017.emea.nsn-intra.net (8.12.11.20060308/8.12.11) with\n\tESMTP id t749Up71009054; Tue, 4 Aug 2015 11:30:52 +0200"
        ],
        "From": "chixiaobo <xiaobo.chi@nokia.com>",
        "To": "dev@dpdk.org",
        "Date": "Tue,  4 Aug 2015 17:30:51 +0800",
        "Message-Id": "<1438680651-19940-1-git-send-email-xiaobo.chi@nokia.com>",
        "X-Mailer": "git-send-email 1.9.4.msysgit.2",
        "X-purgate-type": "clean",
        "X-purgate-Ad": "Categorized by eleven eXpurgate (R) http://www.eleven.de",
        "X-purgate": [
            "clean",
            "This mail is considered clean (visit http://www.eleven.de for\n\tfurther information)"
        ],
        "X-purgate-size": "981",
        "X-purgate-ID": "151667::1438680653-000058E2-487B7BD9/0/0",
        "Cc": "chixiaobo <xiaobo.chi@nokia.com>",
        "Subject": "[dpdk-dev] [PATCH] set eventfd_link_misc.minor=MISC_DYNAMIC_MINOR",
        "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": "For miscdevices, the major device_no is same, so the minor device_no should be set to ditinguish different misc devices;  if not set the minor, it may fail while insmod due to the default minor value, 0, has been used by other miscdevice. MISC_DYNAMIC_MINOR means to let Linux kernel dynamically assign one minor devide number while loading.\n\nSigned-off-by: chixiaobo <xiaobo.chi@nokia.com>\n---\n lib/librte_vhost/eventfd_link/eventfd_link.c | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/lib/librte_vhost/eventfd_link/eventfd_link.c b/lib/librte_vhost/eventfd_link/eventfd_link.c\nindex 62c45c8..b023cdf 100644\n--- a/lib/librte_vhost/eventfd_link/eventfd_link.c\n+++ b/lib/librte_vhost/eventfd_link/eventfd_link.c\n@@ -169,6 +169,7 @@ static const struct file_operations eventfd_link_fops = {\n \n \n static struct miscdevice eventfd_link_misc = {\n+\t.minor = MISC_DYNAMIC_MINOR,\n \t.name = \"eventfd-link\",\n \t.fops = &eventfd_link_fops,\n };\n",
    "prefixes": [
        "dpdk-dev"
    ]
}