get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 191,
    "url": "http://patchwork.ozlabs.org/api/patches/191/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20080906050905.931087594@goodmis.org/",
    "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": "<20080906050905.931087594@goodmis.org>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/20080906050905.931087594@goodmis.org/",
    "date": "2008-09-06T05:06:03",
    "name": "ftrace: use ftrace_release for all dynamic ftrace functions",
    "commit_ref": "c0719e5a4b1ccc04180b7a7b71095c9fb7131919",
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "e2312afd65400f96c7ed578e2b9beef121634077",
    "submitter": {
        "id": 112,
        "url": "http://patchwork.ozlabs.org/api/people/112/?format=api",
        "name": "Steven Rostedt",
        "email": "rostedt@goodmis.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20080906050905.931087594@goodmis.org/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/191/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/191/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linuxppc-dev-bounces+patchwork=ozlabs.org@ozlabs.org>",
        "X-Original-To": [
            "patchwork@ozlabs.org",
            "linuxppc-dev@ozlabs.org"
        ],
        "Delivered-To": [
            "patchwork@ozlabs.org",
            "linuxppc-dev@ozlabs.org"
        ],
        "Received": [
            "from ozlabs.org (localhost [127.0.0.1])\n\tby ozlabs.org (Postfix) with ESMTP id 44D49DE048\n\tfor <patchwork@ozlabs.org>; Sat,  6 Sep 2008 15:09:43 +1000 (EST)",
            "from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com\n\t[71.74.56.125]) by ozlabs.org (Postfix) with ESMTP id 5D262DDDDF\n\tfor <linuxppc-dev@ozlabs.org>; Sat,  6 Sep 2008 15:09:08 +1000 (EST)",
            "from gandalf.stny.rr.com ([74.74.65.243])\n\tby hrndva-omta02.mail.rr.com with ESMTP id\n\t<20080906050906.HTG20228.hrndva-omta02.mail.rr.com@gandalf.stny.rr.com>;\n\tSat, 6 Sep 2008 05:09:06 +0000",
            "from rostedt by gandalf.stny.rr.com with local (Exim 4.69)\n\t(envelope-from <rostedt@goodmis.org>)\n\tid 1Kbq2k-0001i3-1n; Sat, 06 Sep 2008 01:09:06 -0400"
        ],
        "Message-Id": "<20080906050905.931087594@goodmis.org>",
        "References": "<20080906050602.409299112@goodmis.org>",
        "User-Agent": "quilt/0.46-1",
        "Date": "Sat, 06 Sep 2008 01:06:03 -0400",
        "From": "Steven Rostedt <rostedt@goodmis.org>",
        "To": "linux-kernel@vger.kernel.org",
        "Subject": "[PATCH 1/2] ftrace: use ftrace_release for all dynamic ftrace\n\tfunctions",
        "Content-Disposition": "inline; filename=ftrace-release-depend-on-ftrace.patch",
        "Cc": "Andrew Morton <akpm@linux-foundation.org>,\n\tPeter Zijlstra <peterz@infradead.org>,\n\tDavid Miller <davem@davemloft.net>, linuxppc-dev@ozlabs.org,\n\tSteven Rostedt <srostedt@redhat.com>, Ingo Molnar <mingo@elte.hu>,\n\tThomas Gleixner <tglx@linutronix.de>",
        "X-BeenThere": "linuxppc-dev@ozlabs.org",
        "X-Mailman-Version": "2.1.11",
        "Precedence": "list",
        "List-Id": "Linux on PowerPC Developers Mail List <linuxppc-dev.ozlabs.org>",
        "List-Unsubscribe": "<https://ozlabs.org/mailman/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@ozlabs.org?subject=unsubscribe>",
        "List-Archive": "<http://ozlabs.org/pipermail/linuxppc-dev>",
        "List-Post": "<mailto:linuxppc-dev@ozlabs.org>",
        "List-Help": "<mailto:linuxppc-dev-request@ozlabs.org?subject=help>",
        "List-Subscribe": "<https://ozlabs.org/mailman/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@ozlabs.org?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "linuxppc-dev-bounces+patchwork=ozlabs.org@ozlabs.org",
        "Errors-To": "linuxppc-dev-bounces+patchwork=ozlabs.org@ozlabs.org"
    },
    "content": "ftrace_release is necessary for all uses of dynamic ftrace and not just\nthe archs that have CONFIG_FTRACE_MCOUNT_RECORD defined.\n\nSigned-off-by: Steven Rostedt <srostedt@redhat.com>",
    "diff": "Index: linux-tip.git/include/linux/ftrace.h\n===================================================================\n--- linux-tip.git.orig/include/linux/ftrace.h\t2008-09-05 16:04:34.000000000 -0700\n+++ linux-tip.git/include/linux/ftrace.h\t2008-09-05 20:10:47.000000000 -0700\n@@ -77,8 +77,10 @@ extern void mcount_call(void);\n \n extern int skip_trace(unsigned long ip);\n \n-void ftrace_disable_daemon(void);\n-void ftrace_enable_daemon(void);\n+extern void ftrace_release(void *start, unsigned long size);\n+\n+extern void ftrace_disable_daemon(void);\n+extern void ftrace_enable_daemon(void);\n \n #else\n # define skip_trace(ip)\t\t\t\t({ 0; })\n@@ -86,6 +88,7 @@ void ftrace_enable_daemon(void);\n # define ftrace_set_filter(buf, len, reset)\tdo { } while (0)\n # define ftrace_disable_daemon()\t\tdo { } while (0)\n # define ftrace_enable_daemon()\t\t\tdo { } while (0)\n+static inline void ftrace_release(void *start, unsigned long size) { }\n #endif /* CONFIG_DYNAMIC_FTRACE */\n \n /* totally disable ftrace - can not re-enable after this */\n@@ -199,12 +202,10 @@ static inline void ftrace_dump(void) { }\n #ifdef CONFIG_FTRACE_MCOUNT_RECORD\n extern void ftrace_init(void);\n extern void ftrace_init_module(unsigned long *start, unsigned long *end);\n-extern void ftrace_release(void *start, unsigned long size);\n #else\n static inline void ftrace_init(void) { }\n static inline void\n ftrace_init_module(unsigned long *start, unsigned long *end) { }\n-static inline void ftrace_release(void *start, unsigned long size) { }\n #endif\n \n \n",
    "prefixes": []
}