get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 534526,
    "url": "http://patchwork.ozlabs.org/api/patches/534526/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20151022180310.105186.43189.stgit@mdrustad-wks.jf.intel.com/",
    "project": {
        "id": 46,
        "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api",
        "name": "Intel Wired Ethernet development",
        "link_name": "intel-wired-lan",
        "list_id": "intel-wired-lan.osuosl.org",
        "list_email": "intel-wired-lan@osuosl.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20151022180310.105186.43189.stgit@mdrustad-wks.jf.intel.com>",
    "list_archive_url": null,
    "date": "2015-10-22T18:03:10",
    "name": "net: Fix warnings from inet_timewait_sock.h",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": false,
    "hash": "08a94d9ea189b76b74c75bdb756b2cf60d644416",
    "submitter": {
        "id": 13252,
        "url": "http://patchwork.ozlabs.org/api/people/13252/?format=api",
        "name": "Rustad, Mark D",
        "email": "mark.d.rustad@intel.com"
    },
    "delegate": {
        "id": 68,
        "url": "http://patchwork.ozlabs.org/api/users/68/?format=api",
        "username": "jtkirshe",
        "first_name": "Jeff",
        "last_name": "Kirsher",
        "email": "jeffrey.t.kirsher@intel.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20151022180310.105186.43189.stgit@mdrustad-wks.jf.intel.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/534526/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/534526/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<intel-wired-lan-bounces@lists.osuosl.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Received": [
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ozlabs.org (Postfix) with ESMTP id 46073141317\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 23 Oct 2015 05:03:13 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 321C0936B2;\n\tThu, 22 Oct 2015 18:03:13 +0000 (UTC)",
            "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 6aDfnxdJX8tQ; Thu, 22 Oct 2015 18:03:12 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id BF67589C5D;\n\tThu, 22 Oct 2015 18:03:12 +0000 (UTC)",
            "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id 0E1F51C44B6\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 22 Oct 2015 18:03:12 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 040482DF46\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 22 Oct 2015 18:03:12 +0000 (UTC)",
            "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id EbKvRvWJkPwr for <intel-wired-lan@lists.osuosl.org>;\n\tThu, 22 Oct 2015 18:03:11 +0000 (UTC)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby silver.osuosl.org (Postfix) with ESMTP id 101B52DBE5\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 22 Oct 2015 18:03:11 +0000 (UTC)",
            "from fmsmga002.fm.intel.com ([10.253.24.26])\n\tby fmsmga102.fm.intel.com with ESMTP; 22 Oct 2015 11:03:11 -0700",
            "from mdrustad-wks.jf.intel.com ([134.134.176.160])\n\tby fmsmga002.fm.intel.com with ESMTP; 22 Oct 2015 11:03:10 -0700"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.20,183,1444719600\"; d=\"scan'208\";a=\"833205048\"",
        "From": "Mark D Rustad <mark.d.rustad@intel.com>",
        "To": "intel-wired-lan@lists.osuosl.org",
        "Date": "Thu, 22 Oct 2015 11:03:10 -0700",
        "Message-ID": "<20151022180310.105186.43189.stgit@mdrustad-wks.jf.intel.com>",
        "User-Agent": "StGit/0.17.1-dirty",
        "MIME-Version": "1.0",
        "Subject": "[Intel-wired-lan] [PATCH] net: Fix warnings from\n\tinet_timewait_sock.h",
        "X-BeenThere": "intel-wired-lan@lists.osuosl.org",
        "X-Mailman-Version": "2.1.18-1",
        "Precedence": "list",
        "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.lists.osuosl.org>",
        "List-Unsubscribe": "<http://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>",
        "List-Post": "<mailto:intel-wired-lan@lists.osuosl.org>",
        "List-Help": "<mailto:intel-wired-lan-request@lists.osuosl.org?subject=help>",
        "List-Subscribe": "<http://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "intel-wired-lan-bounces@lists.osuosl.org",
        "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@lists.osuosl.org>"
    },
    "content": "With W=1, inet_timewait_sock.h is generating the following warnings:\n\ninclude/net/inet_timewait_sock.h:116:1: warning: <E2><80><98>inline<E2><80><99> is not at beginning of declaration [-Wold-style-declaration]\n static void inline inet_twsk_schedule(struct inet_timewait_sock *tw, int timeo)\n ^\ninclude/net/inet_timewait_sock.h:121:1: warning: <E2><80><98>inline<E2><80><99> is not at beginning of declaration [-Wold-style-declaration]\n static void inline inet_twsk_reschedule(struct inet_timewait_sock *tw, int timeo)\n ^\n\nSimply reorder the declaration to the proper order to resolve them.\n\nSigned-off-by: Mark Rustad <mark.d.rustad@intel.com>\n---\n include/net/inet_timewait_sock.h |    4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/include/net/inet_timewait_sock.h b/include/net/inet_timewait_sock.h\nindex e581fc69129d..c9b3eb70f340 100644\n--- a/include/net/inet_timewait_sock.h\n+++ b/include/net/inet_timewait_sock.h\n@@ -113,12 +113,12 @@ void __inet_twsk_hashdance(struct inet_timewait_sock *tw, struct sock *sk,\n void __inet_twsk_schedule(struct inet_timewait_sock *tw, int timeo,\n \t\t\t  bool rearm);\n \n-static void inline inet_twsk_schedule(struct inet_timewait_sock *tw, int timeo)\n+static inline void inet_twsk_schedule(struct inet_timewait_sock *tw, int timeo)\n {\n \t__inet_twsk_schedule(tw, timeo, false);\n }\n \n-static void inline inet_twsk_reschedule(struct inet_timewait_sock *tw, int timeo)\n+static inline void inet_twsk_reschedule(struct inet_timewait_sock *tw, int timeo)\n {\n \t__inet_twsk_schedule(tw, timeo, true);\n }\n",
    "prefixes": []
}