get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 264,
    "url": "http://patchwork.ozlabs.org/api/patches/264/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1221252823-6291-1-git-send-email-becky.bruce@freescale.com/",
    "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": "<1221252823-6291-1-git-send-email-becky.bruce@freescale.com>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/1221252823-6291-1-git-send-email-becky.bruce@freescale.com/",
    "date": "2008-09-12T20:53:43",
    "name": "POWERPC: Make dma_addr_t a u64 if CONFIG_PHYS_64BIT is set",
    "commit_ref": "b9579689ad3a208c342aed806afc7a9a808c4e1e",
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "8284a79681836354f8541d945c918448ba62a955",
    "submitter": {
        "id": 12,
        "url": "http://patchwork.ozlabs.org/api/people/12/?format=api",
        "name": "Becky Bruce",
        "email": "becky.bruce@freescale.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1221252823-6291-1-git-send-email-becky.bruce@freescale.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/264/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/264/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 D350EDE1E3\n\tfor <patchwork@ozlabs.org>; Sat, 13 Sep 2008 06:54:10 +1000 (EST)",
            "from de01egw02.freescale.net (de01egw02.freescale.net\n\t[192.88.165.103])\n\t(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\n\t(Client CN \"de01egw02.freescale.net\",\n\tIssuer \"Thawte Premium Server CA\" (verified OK))\n\tby ozlabs.org (Postfix) with ESMTPS id 97863DDEF8\n\tfor <linuxppc-dev@ozlabs.org>; Sat, 13 Sep 2008 06:53:50 +1000 (EST)",
            "from de01smr01.freescale.net (de01smr01.freescale.net\n\t[10.208.0.31])\n\tby de01egw02.freescale.net (8.12.11/de01egw02) with ESMTP id\n\tm8CKrjBB007990\n\tfor <linuxppc-dev@ozlabs.org>; Fri, 12 Sep 2008 13:53:45 -0700 (MST)",
            "from blarg.am.freescale.net (blarg.am.freescale.net [10.82.19.176])\n\tby de01smr01.freescale.net (8.13.1/8.13.0) with ESMTP id\n\tm8CKriMO021850\n\tfor <linuxppc-dev@ozlabs.org>; Fri, 12 Sep 2008 15:53:45 -0500 (CDT)",
            "from blarg.am.freescale.net (localhost.localdomain [127.0.0.1])\n\tby blarg.am.freescale.net (8.14.2/8.14.2) with ESMTP id\n\tm8CKriDr006314; Fri, 12 Sep 2008 15:53:44 -0500",
            "(from bgill@localhost)\n\tby blarg.am.freescale.net (8.14.2/8.14.2/Submit) id m8CKriem006312;\n\tFri, 12 Sep 2008 15:53:44 -0500"
        ],
        "From": "Becky Bruce <becky.bruce@freescale.com>",
        "To": "linuxppc-dev@ozlabs.org",
        "Subject": "[PATCH] POWERPC: Make dma_addr_t a u64 if CONFIG_PHYS_64BIT is set",
        "Date": "Fri, 12 Sep 2008 15:53:43 -0500",
        "Message-Id": "<1221252823-6291-1-git-send-email-becky.bruce@freescale.com>",
        "X-Mailer": "git-send-email 1.5.5.1",
        "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": "Signed-off-by: Becky Bruce <becky.bruce@freescale.com>",
    "diff": "diff --git a/arch/powerpc/include/asm/types.h b/arch/powerpc/include/asm/types.h\nindex d3374bc..a9a9262 100644\n--- a/arch/powerpc/include/asm/types.h\n+++ b/arch/powerpc/include/asm/types.h\n@@ -55,7 +55,7 @@ typedef u64 phys_addr_t;\n typedef u32 phys_addr_t;\n #endif\n \n-#ifdef __powerpc64__\n+#if defined(__powerpc64__) || defined(CONFIG_PHYS_64BIT)\n typedef u64 dma_addr_t;\n #else\n typedef u32 dma_addr_t;\n",
    "prefixes": []
}