get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 817448,
    "url": "http://patchwork.ozlabs.org/api/patches/817448/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1506080100-5660-3-git-send-email-allen.lkml@gmail.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": "<1506080100-5660-3-git-send-email-allen.lkml@gmail.com>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/1506080100-5660-3-git-send-email-allen.lkml@gmail.com/",
    "date": "2017-09-22T11:34:59",
    "name": "[2/3] powerpc: use setup_timer() helper.",
    "commit_ref": "8d6b1bf20f61cd5358fdc5fa83d7fc11c8393d8a",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "2b12f921d7bef087e96cf796e8e86bb0e65eebf5",
    "submitter": {
        "id": 72354,
        "url": "http://patchwork.ozlabs.org/api/people/72354/?format=api",
        "name": "Allen Pais",
        "email": "allen.lkml@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1506080100-5660-3-git-send-email-allen.lkml@gmail.com/mbox/",
    "series": [
        {
            "id": 4604,
            "url": "http://patchwork.ozlabs.org/api/series/4604/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=4604",
            "date": "2017-09-22T11:34:57",
            "name": "use setup_timer() helper function.",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/4604/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/817448/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/817448/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"
        ],
        "Received": [
            "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\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 3xzBfW71TJz9sP1\n\tfor <patchwork-incoming@ozlabs.org>;\n\tFri, 22 Sep 2017 21:52:03 +1000 (AEST)",
            "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xzBfW5qW1zDsN5\n\tfor <patchwork-incoming@ozlabs.org>;\n\tFri, 22 Sep 2017 21:52:03 +1000 (AEST)",
            "from mail-pg0-x241.google.com (mail-pg0-x241.google.com\n\t[IPv6:2607:f8b0:400e:c05::241])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3xzBH668PTzDqjC\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tFri, 22 Sep 2017 21:35:14 +1000 (AEST)",
            "by mail-pg0-x241.google.com with SMTP id d8so481944pgt.3\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tFri, 22 Sep 2017 04:35:14 -0700 (PDT)",
            "from localhost.localdomain ([103.42.74.194])\n\tby smtp.gmail.com with ESMTPSA id\n\tu31sm6634133pgn.70.2017.09.22.04.35.10\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tFri, 22 Sep 2017 04:35:11 -0700 (PDT)"
        ],
        "Authentication-Results": [
            "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"tDU5/eUH\"; dkim-atps=neutral",
            "lists.ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"tDU5/eUH\"; dkim-atps=neutral",
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=gmail.com\n\t(client-ip=2607:f8b0:400e:c05::241; helo=mail-pg0-x241.google.com;\n\tenvelope-from=allen.lkml@gmail.com; receiver=<UNKNOWN>)",
            "lists.ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"tDU5/eUH\"; dkim-atps=neutral"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=k+EZHdFwFrT4NsMkz2CK6HjTc7+jR05FZk6xsPbt5l8=;\n\tb=tDU5/eUHhmPEbMYdcBDcTwkt8d05l1OOoNUO6Cl0kEEhtTeSBqggpc0jdxYhww5BOG\n\tnUV4rNLKkfp95t+tIKVV5mxFqgZkHOazbsZF0+Q5k6Z4bNKt21uWZ1IiUUUG2Wov8pKo\n\ttCmw/NsjjDs5QFM9TsSC4ikbT+UNZM0TzoqECS3GFVhMzCIvUCq+zUxhDylyecyjNI7P\n\tO3pHqHGWXbveQ1cZMKbSGCSwwXRrNZKWW/PzFxYgSTlA9JbJqbaTzxtBPbsQJJOfjO0q\n\tBYSUUUSRCzQpBy3G1lZwnJnFG5EfVDFg6R4LFtFURCMIAn/OJv52fJHI0/j6K2/wCaK0\n\tuARw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=k+EZHdFwFrT4NsMkz2CK6HjTc7+jR05FZk6xsPbt5l8=;\n\tb=B61cOuKiwOr7YZETciEkMsqPlJJf4rLHra8SVSzRo+TTqDOJGPVqDFgwe5HZarJ4PY\n\tGRabDQBCnNv+vrNeCgTlfCprjZXOa8cURdpOodR2Uuw51nfpdB3RA1JTz7vEv2K0UnVt\n\tZmdZVp28kWVuE4UQT2wFX4dMB3zOZ76TvzYraYsdkICq8r7fITSeo91EdaBFCUf3pyj0\n\t8vhdBz0x5QtgaZbZF06p6UCYVeP4qMiugOploUfP+qAlMfY8x+x5nILUWf+NoRQDHbZt\n\tCePY82hfUhi15m/1iCcQ4A7BbIzXbf2T6mbkeNHi3vOxA0WpzIYLABSsuMZJ3nL1LTfL\n\ttQxA==",
        "X-Gm-Message-State": "AHPjjUhcghWNaJgbUh5sAuZ9MTQdtjzlrhJuh4QWj3BjyFJsPdldzL/T\n\tOVKikTLp2Er310U1SyhhqV0=",
        "X-Google-Smtp-Source": "AOwi7QDCZhpGz8zIPmG0FtzVZHBh3XVDyn7Xk6IJI1A40SBFoyH3DgWo05UXEG9ZrcghLQggl7vgBg==",
        "X-Received": "by 10.84.238.137 with SMTP id v9mr8925741plk.180.1506080112588; \n\tFri, 22 Sep 2017 04:35:12 -0700 (PDT)",
        "From": "Allen Pais <allen.lkml@gmail.com>",
        "To": "paulus@samba.org",
        "Subject": "[PATCH 2/3] powerpc: use setup_timer() helper.",
        "Date": "Fri, 22 Sep 2017 17:04:59 +0530",
        "Message-Id": "<1506080100-5660-3-git-send-email-allen.lkml@gmail.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1506080100-5660-1-git-send-email-allen.lkml@gmail.com>",
        "References": "<1506080100-5660-1-git-send-email-allen.lkml@gmail.com>",
        "X-Mailman-Approved-At": "Fri, 22 Sep 2017 21:46:51 +1000",
        "X-BeenThere": "linuxppc-dev@lists.ozlabs.org",
        "X-Mailman-Version": "2.1.24",
        "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>",
        "Cc": "linuxppc-dev@lists.ozlabs.org, Allen Pais <allen.lkml@gmail.com>",
        "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": "Use setup_timer function instead of initializing timer with the\n   function and data fields.\n\nSigned-off-by: Allen Pais <allen.lkml@gmail.com>\n---\n arch/powerpc/kernel/tau_6xx.c | 3 +--\n 1 file changed, 1 insertion(+), 2 deletions(-)",
    "diff": "diff --git a/arch/powerpc/kernel/tau_6xx.c b/arch/powerpc/kernel/tau_6xx.c\nindex a753b72..726c2d6 100644\n--- a/arch/powerpc/kernel/tau_6xx.c\n+++ b/arch/powerpc/kernel/tau_6xx.c\n@@ -229,8 +229,7 @@ int __init TAU_init(void)\n \n \n \t/* first, set up the window shrinking timer */\n-\tinit_timer(&tau_timer);\n-\ttau_timer.function = tau_timeout_smp;\n+\tsetup_timer(&tau_timer, tau_timeout_smp, 0UL);\n \ttau_timer.expires = jiffies + shrink_timer;\n \tadd_timer(&tau_timer);\n \n",
    "prefixes": [
        "2/3"
    ]
}