get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 449,
    "url": "http://patchwork.ozlabs.org/api/patches/449/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/patch/20080917180941.GB29966@orion/",
    "project": {
        "id": 3,
        "url": "http://patchwork.ozlabs.org/api/projects/3/?format=api",
        "name": "Linux MTD development",
        "link_name": "linux-mtd",
        "list_id": "linux-mtd.lists.infradead.org",
        "list_email": "linux-mtd@lists.infradead.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20080917180941.GB29966@orion>",
    "list_archive_url": null,
    "date": "2008-09-17T18:09:41",
    "name": "ubifs: fix printk format warnings",
    "commit_ref": "7424bac82ff3bd956ea04101550e01bdae17284d",
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "2c571cb4fcd963a6b65b7686de503bfa0c0ccb10",
    "submitter": {
        "id": 230,
        "url": "http://patchwork.ozlabs.org/api/people/230/?format=api",
        "name": "Alexander Beregalov",
        "email": "a.beregalov@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-mtd/patch/20080917180941.GB29966@orion/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/449/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/449/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@ozlabs.org",
        "Received": [
            "from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34])\n\t(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\n\t(Client did not present a certificate)\n\tby ozlabs.org (Postfix) with ESMTPS id F1CD4DE03D\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 18 Sep 2008 04:11:59 +1000 (EST)",
            "from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.68 #1 (Red Hat Linux))\n\tid 1Kg1TZ-0005x4-TU; Wed, 17 Sep 2008 18:10:06 +0000",
            "from gv-out-0910.google.com ([216.239.58.186])\n\tby bombadil.infradead.org with esmtp (Exim 4.68 #1 (Red Hat Linux))\n\tid 1Kg1TN-0005rK-SA\n\tfor linux-mtd@lists.infradead.org; Wed, 17 Sep 2008 18:09:55 +0000",
            "by gv-out-0910.google.com with SMTP id n40so1749035gve.5\n\tfor <linux-mtd@lists.infradead.org>;\n\tWed, 17 Sep 2008 11:09:52 -0700 (PDT)",
            "by 10.86.94.11 with SMTP id r11mr2246398fgb.0.1221674991777;\n\tWed, 17 Sep 2008 11:09:51 -0700 (PDT)",
            "from @ ( [91.76.46.163])\n\tby mx.google.com with ESMTPS id l12sm2259525fgb.6.2008.09.17.11.09.49\n\t(version=TLSv1/SSLv3 cipher=RC4-MD5);\n\tWed, 17 Sep 2008 11:09:51 -0700 (PDT)"
        ],
        "Date": "Wed, 17 Sep 2008 22:09:41 +0400",
        "From": "Alexander Beregalov <a.beregalov@gmail.com>",
        "To": "dedekind@infradead.org, ext-adrian.hunter@nokia.com,\n\tlinux-mtd@lists.infradead.org",
        "Subject": "[PATCH] ubifs: fix printk format warnings",
        "Message-ID": "<20080917180941.GB29966@orion>",
        "MIME-Version": "1.0",
        "Content-Disposition": "inline",
        "User-Agent": "Mutt/1.5.16 (2007-06-09)",
        "X-Spam-Score": "0.0 (/)",
        "X-BeenThere": "linux-mtd@lists.infradead.org",
        "X-Mailman-Version": "2.1.9",
        "Precedence": "list",
        "List-Id": "Linux MTD discussion mailing list <linux-mtd.lists.infradead.org>",
        "List-Unsubscribe": "<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.infradead.org/pipermail/linux-mtd>",
        "List-Post": "<mailto:linux-mtd@lists.infradead.org>",
        "List-Help": "<mailto:linux-mtd-request@lists.infradead.org?subject=help>",
        "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "linux-mtd-bounces@lists.infradead.org",
        "Errors-To": "linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"
    },
    "content": "fs/ubifs/dir.c:428: warning: format '%llu' expects type 'long long\nunsigned int', but argument 5 has type 'long unsigned int'\n\nfs/ubifs/debug.c:541: warning: format '%llu' expects type 'long long\nunsigned int', but argument 2 has type 'long unsigned int'\n\n\nSigned-off-by: Alexander Beregalov <a.beregalov@gmail.com>",
    "diff": "diff --git a/fs/ubifs/debug.c b/fs/ubifs/debug.c\nindex b9cb774..d7f7645 100644\n--- a/fs/ubifs/debug.c\n+++ b/fs/ubifs/debug.c\n@@ -538,7 +538,7 @@ void dbg_dump_node(const struct ubifs_info *c, const void *node)\n \t\tprintk(KERN_DEBUG \"\\t%d orphan inode numbers:\\n\", n);\n \t\tfor (i = 0; i < n; i++)\n \t\t\tprintk(KERN_DEBUG \"\\t  ino %llu\\n\",\n-\t\t\t       le64_to_cpu(orph->inos[i]));\n+\t\t\t       (unsigned long long)le64_to_cpu(orph->inos[i]));\n \t\tbreak;\n \t}\n \tdefault:\ndiff --git a/fs/ubifs/dir.c b/fs/ubifs/dir.c\nindex 4884f06..8561890 100644\n--- a/fs/ubifs/dir.c\n+++ b/fs/ubifs/dir.c\n@@ -426,7 +426,7 @@ static int ubifs_readdir(struct file *file, void *dirent, filldir_t filldir)\n \n \twhile (1) {\n \t\tdbg_gen(\"feed '%s', ino %llu, new f_pos %#x\",\n-\t\t\tdent->name, le64_to_cpu(dent->inum),\n+\t\t\tdent->name, (unsigned long long)le64_to_cpu(dent->inum),\n \t\t\tkey_hash_flash(c, &dent->key));\n \t\tubifs_assert(dent->ch.sqnum > ubifs_inode(dir)->creat_sqnum);\n \n",
    "prefixes": []
}