get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 796687,
    "url": "http://patchwork.ozlabs.org/api/patches/796687/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1501687767-12768-1-git-send-email-Julia.Lawall@lip6.fr/",
    "project": {
        "id": 2,
        "url": "http://patchwork.ozlabs.org/api/projects/2/?format=api",
        "name": "Linux PPC development",
        "link_name": "linuxppc-dev",
        "list_id": "linuxppc-dev.lists.ozlabs.org",
        "list_email": "linuxppc-dev@lists.ozlabs.org",
        "web_url": "https://github.com/linuxppc/wiki/wiki",
        "scm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git",
        "webscm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/",
        "list_archive_url": "https://lore.kernel.org/linuxppc-dev/",
        "list_archive_url_format": "https://lore.kernel.org/linuxppc-dev/{}/",
        "commit_url_format": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id={}"
    },
    "msgid": "<1501687767-12768-1-git-send-email-Julia.Lawall@lip6.fr>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/1501687767-12768-1-git-send-email-Julia.Lawall@lip6.fr/",
    "date": "2017-08-02T15:29:27",
    "name": "usb: gadget: fsl_qe_udc: constify qe_ep0_desc",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": false,
    "hash": "db78cf4f2dcae206041ab6a1c870313b642e8427",
    "submitter": {
        "id": 10041,
        "url": "http://patchwork.ozlabs.org/api/people/10041/?format=api",
        "name": "Julia Lawall",
        "email": "julia.lawall@lip6.fr"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1501687767-12768-1-git-send-email-Julia.Lawall@lip6.fr/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/796687/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/796687/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>",
        "X-Original-To": [
            "patchwork-incoming@ozlabs.org",
            "linuxppc-dev@lists.ozlabs.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@ozlabs.org",
            "linuxppc-dev@lists.ozlabs.org"
        ],
        "Received": [
            "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xMyl45bZzz9t2J\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu,  3 Aug 2017 02:07:44 +1000 (AEST)",
            "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xMyl44pvBzDsYM\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu,  3 Aug 2017 02:07:44 +1000 (AEST)",
            "from mail3-relais-sop.national.inria.fr\n\t(mail3-relais-sop.national.inria.fr [192.134.164.104])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3xMyjf02SwzDsXc\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tThu,  3 Aug 2017 02:06:29 +1000 (AEST)",
            "from palace.lip6.fr (HELO localhost.localdomain)\n\t([132.227.105.202])\n\tby mail3-relais-sop.national.inria.fr with ESMTP/TLS/AES128-SHA256;\n\t02 Aug 2017 17:54:49 +0200"
        ],
        "X-Greylist": "delayed 689 seconds by postgrey-1.36 at bilbo;\n\tThu, 03 Aug 2017 02:06:29 AEST",
        "X-IronPort-AV": "E=Sophos;i=\"5.41,312,1498514400\"; d=\"scan'208\";a=\"233520578\"",
        "From": "Julia Lawall <Julia.Lawall@lip6.fr>",
        "To": "Li Yang <leoyang.li@nxp.com>",
        "Subject": "[PATCH] usb: gadget: fsl_qe_udc: constify qe_ep0_desc",
        "Date": "Wed,  2 Aug 2017 17:29:27 +0200",
        "Message-Id": "<1501687767-12768-1-git-send-email-Julia.Lawall@lip6.fr>",
        "X-Mailer": "git-send-email 1.9.1",
        "X-BeenThere": "linuxppc-dev@lists.ozlabs.org",
        "X-Mailman-Version": "2.1.23",
        "Precedence": "list",
        "List-Id": "Linux on PowerPC Developers Mail List\n\t<linuxppc-dev.lists.ozlabs.org>",
        "List-Unsubscribe": "<https://lists.ozlabs.org/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.ozlabs.org/pipermail/linuxppc-dev/>",
        "List-Post": "<mailto:linuxppc-dev@lists.ozlabs.org>",
        "List-Help": "<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>",
        "List-Subscribe": "<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>",
        "Cc": "Felipe Balbi <balbi@kernel.org>,\n\tGreg Kroah-Hartman <gregkh@linuxfoundation.org>,\n\tlinux-usb@vger.kernel.org, \n\tkernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org,\n\tlinuxppc-dev@lists.ozlabs.org, Bhumika Goyal <bhumirks@gmail.com>",
        "Errors-To": "linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org",
        "Sender": "\"Linuxppc-dev\"\n\t<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>"
    },
    "content": "qe_ep0_desc is only passed as the second argument to qe_ep_init, which is\nconst, so qe_ep0_desc can be const too.\n\nDone with the help of Coccinelle.\n\nSigned-off-by: Julia Lawall <Julia.Lawall@lip6.fr>\n\n---\nI got a lot of warnings when compiling this file, but none seemed to be\nrelated to the change.\n\n drivers/usb/gadget/udc/fsl_qe_udc.c |    2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/usb/gadget/udc/fsl_qe_udc.c b/drivers/usb/gadget/udc/fsl_qe_udc.c\nindex 303328ce..a3e72d6 100644\n--- a/drivers/usb/gadget/udc/fsl_qe_udc.c\n+++ b/drivers/usb/gadget/udc/fsl_qe_udc.c\n@@ -62,7 +62,7 @@\n \t\"ep3\",\n };\n \n-static struct usb_endpoint_descriptor qe_ep0_desc = {\n+static const struct usb_endpoint_descriptor qe_ep0_desc = {\n \t.bLength =\t\tUSB_DT_ENDPOINT_SIZE,\n \t.bDescriptorType =\tUSB_DT_ENDPOINT,\n \n",
    "prefixes": []
}