get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1087272,
    "url": "http://patchwork.ozlabs.org/api/patches/1087272/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20190417221737.11460-8-alice.michael@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": "<20190417221737.11460-8-alice.michael@intel.com>",
    "list_archive_url": null,
    "date": "2019-04-17T22:17:36",
    "name": "[next,S4,iavf,8/9] iavf: rename i40e_device to iavf_device",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "be66ccea7c10921a55646731d4cbaa49e6e29f55",
    "submitter": {
        "id": 71123,
        "url": "http://patchwork.ozlabs.org/api/people/71123/?format=api",
        "name": "Michael, Alice",
        "email": "alice.michael@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/20190417221737.11460-8-alice.michael@intel.com/mbox/",
    "series": [
        {
            "id": 103397,
            "url": "http://patchwork.ozlabs.org/api/series/103397/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=103397",
            "date": "2019-04-17T22:17:29",
            "name": "[next,S4,iavf,1/9] iavf: Rename i40e_adminq* files to iavf_adminq*",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/103397/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1087272/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1087272/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.137; helo=fraxinus.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdmarc=fail (p=none dis=none) header.from=intel.com"
        ],
        "Received": [
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 44kxVs4t0mz9s3Z\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 18 Apr 2019 08:19:49 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 3F99A85F37;\n\tWed, 17 Apr 2019 22:19:48 +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 9nEndA5pKd6b; Wed, 17 Apr 2019 22:19:47 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 69E7B861A1;\n\tWed, 17 Apr 2019 22:19:47 +0000 (UTC)",
            "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id E39921BF405\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 17 Apr 2019 22:19:45 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id DF6512FC70\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 17 Apr 2019 22:19:45 +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 HS0tvVXz-Qlz for <intel-wired-lan@lists.osuosl.org>;\n\tWed, 17 Apr 2019 22:19:43 +0000 (UTC)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby silver.osuosl.org (Postfix) with ESMTPS id 4F2AE2EFBB\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 17 Apr 2019 22:19:42 +0000 (UTC)",
            "from orsmga006.jf.intel.com ([10.7.209.51])\n\tby orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t17 Apr 2019 15:19:40 -0700",
            "from alicemic-2.jf.intel.com ([10.166.16.121])\n\tby orsmga006.jf.intel.com with ESMTP; 17 Apr 2019 15:19:40 -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.60,363,1549958400\"; d=\"scan'208\";a=\"136697258\"",
        "From": "Alice Michael <alice.michael@intel.com>",
        "To": "alice.michael@intel.com,\n\tintel-wired-lan@lists.osuosl.org",
        "Date": "Wed, 17 Apr 2019 15:17:36 -0700",
        "Message-Id": "<20190417221737.11460-8-alice.michael@intel.com>",
        "X-Mailer": "git-send-email 2.19.2",
        "In-Reply-To": "<20190417221737.11460-1-alice.michael@intel.com>",
        "References": "<20190417221737.11460-1-alice.michael@intel.com>",
        "MIME-Version": "1.0",
        "Subject": "[Intel-wired-lan] [next PATCH S4 iavf 8/9] iavf: rename i40e_device\n\tto iavf_device",
        "X-BeenThere": "intel-wired-lan@osuosl.org",
        "X-Mailman-Version": "2.1.29",
        "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>",
        "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": "Renaming remaining defines from i40e to iavf\n\nSigned-off-by: Alice Michael <alice.michael@intel.com>\n---\n drivers/net/ethernet/intel/iavf/iavf.h        |  4 ++--\n drivers/net/ethernet/intel/iavf/iavf_client.c | 20 +++++++++----------\n 2 files changed, 12 insertions(+), 12 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/iavf/iavf.h b/drivers/net/ethernet/intel/iavf/iavf.h\nindex 5a537d57a531..657019418693 100644\n--- a/drivers/net/ethernet/intel/iavf/iavf.h\n+++ b/drivers/net/ethernet/intel/iavf/iavf.h\n@@ -109,7 +109,7 @@ struct iavf_q_vector {\n \n /* Helper macros to switch between ints/sec and what the register uses.\n  * And yes, it's the same math going both ways.  The lowest value\n- * supported by all of the i40e hardware is 8.\n+ * supported by all of the iavf hardware is 8.\n  */\n #define EITR_INTS_PER_SEC_TO_REG(_eitr) \\\n \t((_eitr) ? (1000000000 / ((_eitr) * 256)) : 8)\n@@ -351,7 +351,7 @@ struct iavf_adapter {\n /* Ethtool Private Flags */\n \n /* lan device, used by client interface */\n-struct i40e_device {\n+struct iavf_device {\n \tstruct list_head list;\n \tstruct iavf_adapter *vf;\n };\ndiff --git a/drivers/net/ethernet/intel/iavf/iavf_client.c b/drivers/net/ethernet/intel/iavf/iavf_client.c\nindex 079a22849fcb..bd076c98c228 100644\n--- a/drivers/net/ethernet/intel/iavf/iavf_client.c\n+++ b/drivers/net/ethernet/intel/iavf/iavf_client.c\n@@ -11,7 +11,7 @@\n static\n const char iavf_client_interface_version_str[] = IAVF_CLIENT_VERSION_STR;\n static struct iavf_client  *vf_registered_client;\n-static LIST_HEAD(i40e_devices);\n+static LIST_HEAD(iavf_devices);\n static DEFINE_MUTEX(iavf_device_mutex);\n \n static u32 iavf_client_virtchnl_send(struct iavf_info *ldev,\n@@ -291,11 +291,11 @@ void iavf_client_subtask(struct iavf_adapter *adapter)\n  **/\n int iavf_lan_add_device(struct iavf_adapter *adapter)\n {\n-\tstruct i40e_device *ldev;\n+\tstruct iavf_device *ldev;\n \tint ret = 0;\n \n \tmutex_lock(&iavf_device_mutex);\n-\tlist_for_each_entry(ldev, &i40e_devices, list) {\n+\tlist_for_each_entry(ldev, &iavf_devices, list) {\n \t\tif (ldev->vf == adapter) {\n \t\t\tret = -EEXIST;\n \t\t\tgoto out;\n@@ -308,7 +308,7 @@ int iavf_lan_add_device(struct iavf_adapter *adapter)\n \t}\n \tldev->vf = adapter;\n \tINIT_LIST_HEAD(&ldev->list);\n-\tlist_add(&ldev->list, &i40e_devices);\n+\tlist_add(&ldev->list, &iavf_devices);\n \tdev_info(&adapter->pdev->dev, \"Added LAN device bus=0x%02x dev=0x%02x func=0x%02x\\n\",\n \t\t adapter->hw.bus.bus_id, adapter->hw.bus.device,\n \t\t adapter->hw.bus.func);\n@@ -331,11 +331,11 @@ int iavf_lan_add_device(struct iavf_adapter *adapter)\n  **/\n int iavf_lan_del_device(struct iavf_adapter *adapter)\n {\n-\tstruct i40e_device *ldev, *tmp;\n+\tstruct iavf_device *ldev, *tmp;\n \tint ret = -ENODEV;\n \n \tmutex_lock(&iavf_device_mutex);\n-\tlist_for_each_entry_safe(ldev, tmp, &i40e_devices, list) {\n+\tlist_for_each_entry_safe(ldev, tmp, &iavf_devices, list) {\n \t\tif (ldev->vf == adapter) {\n \t\t\tdev_info(&adapter->pdev->dev,\n \t\t\t\t \"Deleted LAN device bus=0x%02x dev=0x%02x func=0x%02x\\n\",\n@@ -360,11 +360,11 @@ int iavf_lan_del_device(struct iavf_adapter *adapter)\n static void iavf_client_release(struct iavf_client  *client)\n {\n \tstruct iavf_client_instance *cinst;\n-\tstruct i40e_device *ldev;\n+\tstruct iavf_device *ldev;\n \tstruct iavf_adapter *adapter;\n \n \tmutex_lock(&iavf_device_mutex);\n-\tlist_for_each_entry(ldev, &i40e_devices, list) {\n+\tlist_for_each_entry(ldev, &iavf_devices, list) {\n \t\tadapter = ldev->vf;\n \t\tcinst = adapter->cinst;\n \t\tif (!cinst)\n@@ -394,11 +394,11 @@ static void iavf_client_release(struct iavf_client  *client)\n  **/\n static void iavf_client_prepare(struct iavf_client  *client)\n {\n-\tstruct i40e_device *ldev;\n+\tstruct iavf_device *ldev;\n \tstruct iavf_adapter *adapter;\n \n \tmutex_lock(&iavf_device_mutex);\n-\tlist_for_each_entry(ldev, &i40e_devices, list) {\n+\tlist_for_each_entry(ldev, &iavf_devices, list) {\n \t\tadapter = ldev->vf;\n \t\t/* Signal the watchdog to service the client */\n \t\tadapter->flags |= IAVF_FLAG_SERVICE_CLIENT_REQUESTED;\n",
    "prefixes": [
        "next",
        "S4",
        "iavf",
        "8/9"
    ]
}