get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 894798,
    "url": "http://patchwork.ozlabs.org/api/patches/894798/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20180403211619.7880.24524.stgit@ahduyck-green-test.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": "<20180403211619.7880.24524.stgit@ahduyck-green-test.jf.intel.com>",
    "list_archive_url": null,
    "date": "2018-04-03T21:16:19",
    "name": "[iwl,next-queue,05/10] macvlan: macvlan_count_rx shouldn't be static inline AND extern",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "2908a8db7047e7b62842c5e23274e9163521ead7",
    "submitter": {
        "id": 251,
        "url": "http://patchwork.ozlabs.org/api/people/251/?format=api",
        "name": "Duyck, Alexander H",
        "email": "alexander.h.duyck@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/20180403211619.7880.24524.stgit@ahduyck-green-test.jf.intel.com/mbox/",
    "series": [
        {
            "id": 37262,
            "url": "http://patchwork.ozlabs.org/api/series/37262/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=37262",
            "date": "2018-04-03T21:15:53",
            "name": "Clean-up macvlan offloading",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/37262/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/894798/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/894798/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<intel-wired-lan-bounces@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"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=osuosl.org\n\t(client-ip=140.211.166.133; helo=hemlock.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdmarc=none (p=none dis=none) header.from=intel.com"
        ],
        "Received": [
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 40G2BD1wDSz9s08\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed,  4 Apr 2018 07:23:00 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id CDCE58B0BE;\n\tTue,  3 Apr 2018 21:22:58 +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 SCwWvNXsU0ch; Tue,  3 Apr 2018 21:22:57 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id B43A98B082;\n\tTue,  3 Apr 2018 21:22:57 +0000 (UTC)",
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id 74A6C1C039A\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue,  3 Apr 2018 21:22:56 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 71AE5847D4\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue,  3 Apr 2018 21:22:56 +0000 (UTC)",
            "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 6NZm3UNyY8Y9 for <intel-wired-lan@lists.osuosl.org>;\n\tTue,  3 Apr 2018 21:22:55 +0000 (UTC)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id B599784779\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue,  3 Apr 2018 21:22:55 +0000 (UTC)",
            "from fmsmga008.fm.intel.com ([10.253.24.58])\n\tby fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t03 Apr 2018 14:22:55 -0700",
            "from ahduyck-green-test.jf.intel.com ([10.166.244.179])\n\tby fmsmga008.fm.intel.com with ESMTP; 03 Apr 2018 14:22:54 -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-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.48,402,1517904000\"; d=\"scan'208\";a=\"29857167\"",
        "From": "Alexander Duyck <alexander.h.duyck@intel.com>",
        "To": "intel-wired-lan@lists.osuosl.org, jeffrey.t.kirsher@intel.com",
        "Date": "Tue, 03 Apr 2018 17:16:19 -0400",
        "Message-ID": "<20180403211619.7880.24524.stgit@ahduyck-green-test.jf.intel.com>",
        "In-Reply-To": "<20180403211519.7880.70243.stgit@ahduyck-green-test.jf.intel.com>",
        "References": "<20180403211519.7880.70243.stgit@ahduyck-green-test.jf.intel.com>",
        "User-Agent": "StGit/0.17.1-dirty",
        "MIME-Version": "1.0",
        "Subject": "[Intel-wired-lan] [iwl next-queue PATCH 05/10] macvlan:\n\tmacvlan_count_rx shouldn't be static inline AND extern",
        "X-BeenThere": "intel-wired-lan@osuosl.org",
        "X-Mailman-Version": "2.1.24",
        "Precedence": "list",
        "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.osuosl.org>",
        "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>",
        "List-Post": "<mailto:intel-wired-lan@osuosl.org>",
        "List-Help": "<mailto:intel-wired-lan-request@osuosl.org?subject=help>",
        "List-Subscribe": "<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>",
        "Cc": "netdev@vger.kernel.org",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "intel-wired-lan-bounces@osuosl.org",
        "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>"
    },
    "content": "It doesn't make sense to define macvlan_count_rx as a static inline and\nthen add a forward declaration after that as an extern. I am dropping the\nextern declaration since it seems like it is something that likely got\nmissed when the function was made an inline.\n\nSigned-off-by: Alexander Duyck <alexander.h.duyck@intel.com>\n---\n include/linux/if_macvlan.h |    4 ----\n 1 file changed, 4 deletions(-)",
    "diff": "diff --git a/include/linux/if_macvlan.h b/include/linux/if_macvlan.h\nindex c5106ce..80089d6 100644\n--- a/include/linux/if_macvlan.h\n+++ b/include/linux/if_macvlan.h\n@@ -61,10 +61,6 @@ extern int macvlan_common_newlink(struct net *src_net, struct net_device *dev,\n \t\t\t\t  struct nlattr *tb[], struct nlattr *data[],\n \t\t\t\t  struct netlink_ext_ack *extack);\n \n-extern void macvlan_count_rx(const struct macvlan_dev *vlan,\n-\t\t\t     unsigned int len, bool success,\n-\t\t\t     bool multicast);\n-\n extern void macvlan_dellink(struct net_device *dev, struct list_head *head);\n \n extern int macvlan_link_register(struct rtnl_link_ops *ops);\n",
    "prefixes": [
        "iwl",
        "next-queue",
        "05/10"
    ]
}