get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 804815,
    "url": "http://patchwork.ozlabs.org/api/patches/804815/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1503466686-10932-41-git-send-email-mpe@ellerman.id.au/",
    "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": "<1503466686-10932-41-git-send-email-mpe@ellerman.id.au>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/1503466686-10932-41-git-send-email-mpe@ellerman.id.au/",
    "date": "2017-08-23T05:38:00",
    "name": "[40/46] powerpc/configs/6xx: Reinstate CONFIG_CPU_FREQ_STAT",
    "commit_ref": "6946d5e1fa1ba5db51f20caef106a2a205202549",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "79e7b066cc08939cc5afce0dfad178a4e82e2bad",
    "submitter": {
        "id": 46580,
        "url": "http://patchwork.ozlabs.org/api/people/46580/?format=api",
        "name": "Michael Ellerman",
        "email": "mpe@ellerman.id.au"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1503466686-10932-41-git-send-email-mpe@ellerman.id.au/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/804815/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/804815/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",
            "linuxppc-dev@ozlabs.org"
        ],
        "Received": [
            "from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68])\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 3xcd3B54x6z9sCZ\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 23 Aug 2017 16:35:34 +1000 (AEST)",
            "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xcd3B46znzDrtm\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 23 Aug 2017 16:35:34 +1000 (AEST)",
            "from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3xcbnM6BMrzDrJS\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tWed, 23 Aug 2017 15:38:31 +1000 (AEST)",
            "by ozlabs.org (Postfix)\n\tid 3xcbnM5F2sz9t0j; Wed, 23 Aug 2017 15:38:31 +1000 (AEST)",
            "by ozlabs.org (Postfix, from userid 1034)\n\tid 3xcbnM3PFtz9s83; Wed, 23 Aug 2017 15:38:31 +1000 (AEST)"
        ],
        "From": "Michael Ellerman <mpe@ellerman.id.au>",
        "To": "linuxppc-dev@ozlabs.org",
        "Subject": "[PATCH 40/46] powerpc/configs/6xx: Reinstate CONFIG_CPU_FREQ_STAT",
        "Date": "Wed, 23 Aug 2017 15:38:00 +1000",
        "Message-Id": "<1503466686-10932-41-git-send-email-mpe@ellerman.id.au>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1503466686-10932-1-git-send-email-mpe@ellerman.id.au>",
        "References": "<1503466686-10932-1-git-send-email-mpe@ellerman.id.au>",
        "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>",
        "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": "In commit 1aefc75b2449 (\"cpufreq: stats: Make the stats code\nnon-modular\"), the CPU_FREQ_STAT code was made non-modular. Our\ndefconfig still said =m though, which meant we no longer got the\ncode at all. Switch the defconfig to =y.\n\nSigned-off-by: Michael Ellerman <mpe@ellerman.id.au>\n---\n arch/powerpc/configs/ppc6xx_defconfig | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/arch/powerpc/configs/ppc6xx_defconfig b/arch/powerpc/configs/ppc6xx_defconfig\nindex 3d5ca6e8c414..de771d5e564a 100644\n--- a/arch/powerpc/configs/ppc6xx_defconfig\n+++ b/arch/powerpc/configs/ppc6xx_defconfig\n@@ -61,7 +61,7 @@ CONFIG_SBC8641D=y\n CONFIG_MPC8610_HPCD=y\n CONFIG_GEF_SBC610=y\n CONFIG_CPU_FREQ=y\n-CONFIG_CPU_FREQ_STAT=m\n+CONFIG_CPU_FREQ_STAT=y\n CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y\n CONFIG_CPU_FREQ_GOV_PERFORMANCE=y\n CONFIG_CPU_FREQ_GOV_POWERSAVE=m\n",
    "prefixes": [
        "40/46"
    ]
}