get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 817075,
    "url": "http://patchwork.ozlabs.org/api/patches/817075/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/1506013525-29291-61-git-send-email-allen.lkml@gmail.com/",
    "project": {
        "id": 7,
        "url": "http://patchwork.ozlabs.org/api/projects/7/?format=api",
        "name": "Linux network development",
        "link_name": "netdev",
        "list_id": "netdev.vger.kernel.org",
        "list_email": "netdev@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1506013525-29291-61-git-send-email-allen.lkml@gmail.com>",
    "list_archive_url": null,
    "date": "2017-09-21T17:05:21",
    "name": "[60/64] drivers: net: uli526x: use setup_timer() helper.",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "2b098229c924ad52509049dcee8b8057419310c8",
    "submitter": {
        "id": 72354,
        "url": "http://patchwork.ozlabs.org/api/people/72354/?format=api",
        "name": "Allen Pais",
        "email": "allen.lkml@gmail.com"
    },
    "delegate": {
        "id": 34,
        "url": "http://patchwork.ozlabs.org/api/users/34/?format=api",
        "username": "davem",
        "first_name": "David",
        "last_name": "Miller",
        "email": "davem@davemloft.net"
    },
    "mbox": "http://patchwork.ozlabs.org/project/netdev/patch/1506013525-29291-61-git-send-email-allen.lkml@gmail.com/mbox/",
    "series": [
        {
            "id": 4448,
            "url": "http://patchwork.ozlabs.org/api/series/4448/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=4448",
            "date": "2017-09-21T17:04:27",
            "name": "use setup_timer() helper function.",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/4448/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/817075/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/817075/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<netdev-owner@vger.kernel.org>",
        "X-Original-To": "patchwork-incoming@ozlabs.org",
        "Delivered-To": "patchwork-incoming@ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=netdev-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"hj5CPQ/z\"; dkim-atps=neutral"
        ],
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xyjrN54yNz9sRq\n\tfor <patchwork-incoming@ozlabs.org>;\n\tFri, 22 Sep 2017 03:13:56 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752959AbdIURMF (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tThu, 21 Sep 2017 13:12:05 -0400",
            "from mail-pg0-f68.google.com ([74.125.83.68]:34488 \"EHLO\n\tmail-pg0-f68.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751785AbdIURMC (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Thu, 21 Sep 2017 13:12:02 -0400",
            "by mail-pg0-f68.google.com with SMTP id u18so3758544pgo.1;\n\tThu, 21 Sep 2017 10:12:02 -0700 (PDT)",
            "from localhost.localdomain ([103.42.74.194])\n\tby smtp.gmail.com with ESMTPSA id\n\tp12sm3174090pgn.90.2017.09.21.10.11.55\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tThu, 21 Sep 2017 10:12:00 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=2pq3S6OyrOAtzXW4siUtXKX/IIqKmAb8/ncRIBOEIec=;\n\tb=hj5CPQ/zyTYJm6+di/ZoFcGNIZoPvyjEBGxZ2IY0A7aCYjx2W1bGUEziJMpptVc6fX\n\tet6t0ANFq0xzVhT2exMtb3WCMC1TUY/T9bQ97oxe2Nj5vulld08GEfFLn6hNR7G/vlpr\n\tMyXctriECDipjhgBCZKm02L8XfF/yn+vRwGUABa+dBH2ZM/Axi4mjIV+gNZBK8Z9lm3H\n\tkg1H4SGDKCz6t2JBm9iRPY9q/qBL+McAcalfXi6O5C7a/srT/lzJnOFreorAofct1me/\n\t3c4CoMPGVcJT9atmdBj8oTa9ULuOXRo4wimqAzQV5Rsf+bAf1gAknozRD2Yp3k3Cu+2L\n\t/P/A==",
        "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=2pq3S6OyrOAtzXW4siUtXKX/IIqKmAb8/ncRIBOEIec=;\n\tb=OtPog2I/rc+lnMnytSzKxJD/TXkjJMxq25+k+g1PojAFWxNajE9fwhBF4voTW85BCj\n\tvlEWRg3SdshLQzGvwseaR/pIlAxoQU7Z5A7YzVKMuOxqBQAhHKlDfTz42F1voB8IdtAT\n\tsSpTn/ECWCtCuJi9tImPCjG1Tn7AHS+0LwVK51RMW8BzdV+wV5UkjOhSVJiyo+MP3+r5\n\tx0sf0xm5ad88vW+a1WF2a4FuAPtHyUUNhDn0ehB+0PoBUNxKpTd4jIpLnnrBIpn7oiFk\n\tv4JzFOIEYX+vfNiyzJCAMlpxm+ub/Gsg2kmT3VNxwmjLlZbRj3tqGJZUMueIj2EXIjnO\n\tIF5g==",
        "X-Gm-Message-State": "AHPjjUhCGK12lMPDLnx6voabETCQjcMh0RyQ7rZ3wVusoxJJnqlXUeV6\n\to5nOuDnKhq+EAFG3xeYi6tFDp1K6",
        "X-Google-Smtp-Source": "AOwi7QCrLhmupjSbtAhuRh5WX1DKS/dJzNC9dXLe7OE9w4B5YawuR6LAyYDFDDnoecyhFuYbiLhhZw==",
        "X-Received": "by 10.84.245.149 with SMTP id j21mr6163961pll.105.1506013921603; \n\tThu, 21 Sep 2017 10:12:01 -0700 (PDT)",
        "From": "Allen Pais <allen.lkml@gmail.com>",
        "To": "netdev@vger.kernel.org",
        "Cc": "linux-kernel@vger.kernel.org, m.grzeschik@pengutronix.de,\n\tdmitry.tarnyagin@lockless.no, wg@grandegger.com,\n\tmkl@pengutronix.de, mark.einon@gmail.com, linux@armlinux.org.uk,\n\tpcnet32@frontier.com, f.fainelli@gmail.com,\n\tbcm-kernel-feedback-list@broadcom.com, venza@brownhat.org,\n\tajk@comnets.uni-bremen.de, jes@trained-monkey.org,\n\tromieu@fr.zoreil.com, khc@pm.waw.pl, simon@thekelleys.org.uk,\n\tdavem@davemloft.net, linux-can@vger.kernel.org,\n\tadi-buildroot-devel@lists.sourceforge.net,\n\tAllen Pais <allen.lkml@gmail.com>",
        "Subject": "[PATCH 60/64] drivers: net: uli526x: use setup_timer() helper.",
        "Date": "Thu, 21 Sep 2017 22:35:21 +0530",
        "Message-Id": "<1506013525-29291-61-git-send-email-allen.lkml@gmail.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1506013525-29291-1-git-send-email-allen.lkml@gmail.com>",
        "References": "<1506013525-29291-1-git-send-email-allen.lkml@gmail.com>",
        "Sender": "netdev-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<netdev.vger.kernel.org>",
        "X-Mailing-List": "netdev@vger.kernel.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 drivers/net/ethernet/dec/tulip/uli526x.c | 4 +---\n 1 file changed, 1 insertion(+), 3 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/dec/tulip/uli526x.c b/drivers/net/ethernet/dec/tulip/uli526x.c\nindex 7fc248e..5fbbc0c 100644\n--- a/drivers/net/ethernet/dec/tulip/uli526x.c\n+++ b/drivers/net/ethernet/dec/tulip/uli526x.c\n@@ -491,10 +491,8 @@ static int uli526x_open(struct net_device *dev)\n \tnetif_wake_queue(dev);\n \n \t/* set and active a timer process */\n-\tinit_timer(&db->timer);\n+\tsetup_timer(&db->timer, uli526x_timer, (unsigned long)dev);\n \tdb->timer.expires = ULI526X_TIMER_WUT + HZ * 2;\n-\tdb->timer.data = (unsigned long)dev;\n-\tdb->timer.function = uli526x_timer;\n \tadd_timer(&db->timer);\n \n \treturn 0;\n",
    "prefixes": [
        "60/64"
    ]
}