get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 189472,
    "url": "http://patchwork.ozlabs.org/api/patches/189472/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1349441933-22840-1-git-send-email-monstr@monstr.eu/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api",
        "name": "U-Boot",
        "link_name": "uboot",
        "list_id": "u-boot.lists.denx.de",
        "list_email": "u-boot@lists.denx.de",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1349441933-22840-1-git-send-email-monstr@monstr.eu>",
    "list_archive_url": null,
    "date": "2012-10-05T12:58:50",
    "name": "[U-Boot,1/4] microblaze: Fix compilation warning in ext2_find_next_zero_bit",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "5d805059dc43de68fdba72ffab284703ef996b6b",
    "submitter": {
        "id": 2237,
        "url": "http://patchwork.ozlabs.org/api/people/2237/?format=api",
        "name": "Michal Simek",
        "email": "monstr@monstr.eu"
    },
    "delegate": {
        "id": 1692,
        "url": "http://patchwork.ozlabs.org/api/users/1692/?format=api",
        "username": "monstr",
        "first_name": "Michal",
        "last_name": "Simek",
        "email": "monstr@monstr.eu"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1349441933-22840-1-git-send-email-monstr@monstr.eu/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/189472/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/189472/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Received": [
            "from theia.denx.de (theia.denx.de [85.214.87.163])\n\tby ozlabs.org (Postfix) with ESMTP id BAEF32C00BF\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  5 Oct 2012 22:59:11 +1000 (EST)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id A36F2280A0;\n\tFri,  5 Oct 2012 14:59:08 +0200 (CEST)",
            "from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id JzJYHKQOxWRP; Fri,  5 Oct 2012 14:59:08 +0200 (CEST)",
            "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 3334E2808D;\n\tFri,  5 Oct 2012 14:59:06 +0200 (CEST)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 254B22808D\n\tfor <u-boot@lists.denx.de>; Fri,  5 Oct 2012 14:58:58 +0200 (CEST)",
            "from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id OulvpVxWcZIk for <u-boot@lists.denx.de>;\n\tFri,  5 Oct 2012 14:58:57 +0200 (CEST)",
            "from mail-wi0-f174.google.com (mail-wi0-f174.google.com\n\t[209.85.212.174])\n\tby theia.denx.de (Postfix) with ESMTPS id 51F642808C\n\tfor <u-boot@lists.denx.de>; Fri,  5 Oct 2012 14:58:55 +0200 (CEST)",
            "by mail-wi0-f174.google.com with SMTP id hq7so477872wib.9\n\tfor <u-boot@lists.denx.de>; Fri, 05 Oct 2012 05:58:55 -0700 (PDT)",
            "by 10.180.90.201 with SMTP id by9mr3287703wib.5.1349441935320;\n\tFri, 05 Oct 2012 05:58:55 -0700 (PDT)",
            "from localhost (nat-2.starnet.cz. [92.62.224.2])\n\tby mx.google.com with ESMTPS id ei1sm2238326wid.7.2012.10.05.05.58.54\n\t(version=TLSv1/SSLv3 cipher=OTHER);\n\tFri, 05 Oct 2012 05:58:54 -0700 (PDT)"
        ],
        "X-Virus-Scanned": [
            "Debian amavisd-new at theia.denx.de",
            "Debian amavisd-new at theia.denx.de"
        ],
        "X-policyd-weight": "NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5\n\tNOT_IN_BL_NJABL=-1.5 (only DNSBL check requested)",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=google.com; s=20120113;\n\th=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state;\n\tbh=hjujj7Ffu9JIj8QQHqVK2JIMaaJsY5eNCGpQnBVgKqo=;\n\tb=Pkb1wBbnMLm69gLyyXf4fLEwmqBebQ0m6CmdvYdmeSITVE3CYC8nwR/7Lo7jYIfuDL\n\tYACOtZooEo6kppO7Ew0H4UGVy0bJXEDXLRUDfIc2FITsxSYGvTAt4SLbZHHJQLiePTJP\n\tJSfKKr0pbrhIgFXODE6HJUiO3FiAdAfkzW3zEeIVjjRmNh4S5BAqoq+6AhAupeNu4H/2\n\tgnm/qyK2JVcXEUoowtI9wmACW8ac+gYC0ewwInJ6qc3dL7gn0e5xGm/63JLyV3Dfb3Wh\n\tySYkzm2Noxx7lGBQP7Au9Qpo+faXA5iJJbTkkDgFlTY1S0/0ZlLCRiWPy+5l+7sHHvJd\n\t4SrQ==",
        "From": "Michal Simek <monstr@monstr.eu>",
        "To": "u-boot@lists.denx.de",
        "Date": "Fri,  5 Oct 2012 14:58:50 +0200",
        "Message-Id": "<1349441933-22840-1-git-send-email-monstr@monstr.eu>",
        "X-Mailer": "git-send-email 1.7.0.4",
        "X-Gm-Message-State": "ALoCoQmBpqrPPw7g2dPBwg1CDjrR39ZDIO90Xvc7EsH69vuCJTuS0AGVyRFT2HqJ2TFd4Y68+ET2",
        "Subject": "[U-Boot] [PATCH 1/4] microblaze: Fix compilation warning in\n\text2_find_next_zero_bit",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.11",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<http://lists.denx.de/mailman/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<http://lists.denx.de/pipermail/u-boot>",
        "List-Post": "<mailto:u-boot@lists.denx.de>",
        "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>",
        "List-Subscribe": "<http://lists.denx.de/mailman/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "u-boot-bounces@lists.denx.de",
        "Errors-To": "u-boot-bounces@lists.denx.de"
    },
    "content": "ext2_find_next_zero_bit must be also static if __swab32 is also static.\n\nWarning:\ninclude/asm/bitops.h:369:22: warning: '__fswab32' is static but\nused in inline function 'ext2_find_next_zero_bit'\nwhich is not static [enabled by default]\n\nSigned-off-by: Michal Simek <monstr@monstr.eu>\n---\n arch/microblaze/include/asm/bitops.h |    3 ++-\n 1 files changed, 2 insertions(+), 1 deletions(-)",
    "diff": "diff --git a/arch/microblaze/include/asm/bitops.h b/arch/microblaze/include/asm/bitops.h\nindex e8c835f..eafa2b5 100644\n--- a/arch/microblaze/include/asm/bitops.h\n+++ b/arch/microblaze/include/asm/bitops.h\n@@ -319,7 +319,8 @@ extern __inline__ int ext2_test_bit(int nr, const volatile void * addr)\n #define ext2_find_first_zero_bit(addr, size) \\\n \text2_find_next_zero_bit((addr), (size), 0)\n \n-extern __inline__ unsigned long ext2_find_next_zero_bit(void *addr, unsigned long size, unsigned long offset)\n+static inline unsigned long ext2_find_next_zero_bit(void *addr,\n+\t\t\t\tunsigned long size, unsigned long offset)\n {\n \tunsigned long *p = ((unsigned long *) addr) + (offset >> 5);\n \tunsigned long result = offset & ~31UL;\n",
    "prefixes": [
        "U-Boot",
        "1/4"
    ]
}