get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 781903,
    "url": "http://patchwork.ozlabs.org/api/patches/781903/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20170628152226.25369-2-gedwards@ddn.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": "<20170628152226.25369-2-gedwards@ddn.com>",
    "list_archive_url": null,
    "date": "2017-06-28T15:22:24",
    "name": "[1/3] igb: add argument names to mailbox op function declarations",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "1319d97b55621eefa7c5073ee9978d13c9fe441f",
    "submitter": {
        "id": 71885,
        "url": "http://patchwork.ozlabs.org/api/people/71885/?format=api",
        "name": "Greg Edwards",
        "email": "gedwards@ddn.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/20170628152226.25369-2-gedwards@ddn.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/781903/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/781903/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"
        ],
        "Received": [
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\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 3wyYhL5j2vz9s74\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 29 Jun 2017 06:06:10 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 56F8882E12;\n\tWed, 28 Jun 2017 20:06:09 +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 T5CjI_HbmPRa; Wed, 28 Jun 2017 20:06:04 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id D5630834D2;\n\tWed, 28 Jun 2017 20:06:04 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id B498B1C0DE5\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 28 Jun 2017 15:28:21 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id ABAE586BC4\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 28 Jun 2017 15:28:21 +0000 (UTC)",
            "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id tinqz0V-qdxU for <intel-wired-lan@lists.osuosl.org>;\n\tWed, 28 Jun 2017 15:28:19 +0000 (UTC)",
            "from legacy.ddn.com (legacy.ddn.com [64.47.133.206])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 8EFCC86D93\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 28 Jun 2017 15:28:19 +0000 (UTC)",
            "from LAX-EX-CAHT1.datadirect.datadirectnet.com (10.8.103.81) by\n\tLAX-EX-CAHT2.datadirect.datadirectnet.com (10.8.103.82) with\n\tMicrosoft SMTP\n\tServer (TLS) id 14.3.319.2; Wed, 28 Jun 2017 08:22:56 -0700",
            "from psuche.colorado.datadirectnet.com (10.8.30.130) by\n\tLAX-EX-CAHT1.datadirect.datadirectnet.com (10.8.103.81) with\n\tMicrosoft SMTP\n\tServer (TLS) id 14.3.319.2; Wed, 28 Jun 2017 08:22:54 -0700"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "from auto-whitelisted by SQLgrey-1.7.6",
        "From": "Greg Edwards <gedwards@ddn.com>",
        "To": "<intel-wired-lan@lists.osuosl.org>",
        "Date": "Wed, 28 Jun 2017 09:22:24 -0600",
        "Message-ID": "<20170628152226.25369-2-gedwards@ddn.com>",
        "X-Mailer": "git-send-email 2.9.4",
        "In-Reply-To": "<20170628152226.25369-1-gedwards@ddn.com>",
        "References": "<20170628152226.25369-1-gedwards@ddn.com>",
        "MIME-Version": "1.0",
        "X-Originating-IP": "[10.8.30.130]",
        "X-Mailman-Approved-At": "Wed, 28 Jun 2017 20:06:03 +0000",
        "Cc": "Greg Edwards <gedwards@ddn.com>",
        "Subject": "[Intel-wired-lan] [PATCH 1/3] igb: add argument names to mailbox op\n\tfunction declarations",
        "X-BeenThere": "intel-wired-lan@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.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": "Signed-off-by: Greg Edwards <gedwards@ddn.com>\n---\n drivers/net/ethernet/intel/igb/e1000_hw.h  | 15 ++++++++-------\n drivers/net/ethernet/intel/igb/e1000_mbx.h | 12 ++++++------\n 2 files changed, 14 insertions(+), 13 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/igb/e1000_hw.h b/drivers/net/ethernet/intel/igb/e1000_hw.h\nindex 2fb2213cd562..fd7865a8d2e3 100644\n--- a/drivers/net/ethernet/intel/igb/e1000_hw.h\n+++ b/drivers/net/ethernet/intel/igb/e1000_hw.h\n@@ -491,13 +491,14 @@ struct e1000_fc_info {\n \n struct e1000_mbx_operations {\n \ts32 (*init_params)(struct e1000_hw *hw);\n-\ts32 (*read)(struct e1000_hw *, u32 *, u16,  u16);\n-\ts32 (*write)(struct e1000_hw *, u32 *, u16, u16);\n-\ts32 (*read_posted)(struct e1000_hw *, u32 *, u16,  u16);\n-\ts32 (*write_posted)(struct e1000_hw *, u32 *, u16, u16);\n-\ts32 (*check_for_msg)(struct e1000_hw *, u16);\n-\ts32 (*check_for_ack)(struct e1000_hw *, u16);\n-\ts32 (*check_for_rst)(struct e1000_hw *, u16);\n+\ts32 (*read)(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id);\n+\ts32 (*write)(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id);\n+\ts32 (*read_posted)(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id);\n+\ts32 (*write_posted)(struct e1000_hw *hw, u32 *msg, u16 size,\n+\t\t\t    u16 mbx_id);\n+\ts32 (*check_for_msg)(struct e1000_hw *hw, u16 mbx_id);\n+\ts32 (*check_for_ack)(struct e1000_hw *hw, u16 mbx_id);\n+\ts32 (*check_for_rst)(struct e1000_hw *hw, u16 mbx_id);\n };\n \n struct e1000_mbx_stats {\ndiff --git a/drivers/net/ethernet/intel/igb/e1000_mbx.h b/drivers/net/ethernet/intel/igb/e1000_mbx.h\nindex 3e7fed73df15..73d90aeb48b2 100644\n--- a/drivers/net/ethernet/intel/igb/e1000_mbx.h\n+++ b/drivers/net/ethernet/intel/igb/e1000_mbx.h\n@@ -67,11 +67,11 @@\n \n #define E1000_PF_CONTROL_MSG\t0x0100 /* PF control message */\n \n-s32 igb_read_mbx(struct e1000_hw *, u32 *, u16, u16);\n-s32 igb_write_mbx(struct e1000_hw *, u32 *, u16, u16);\n-s32 igb_check_for_msg(struct e1000_hw *, u16);\n-s32 igb_check_for_ack(struct e1000_hw *, u16);\n-s32 igb_check_for_rst(struct e1000_hw *, u16);\n-s32 igb_init_mbx_params_pf(struct e1000_hw *);\n+s32 igb_read_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id);\n+s32 igb_write_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id);\n+s32 igb_check_for_msg(struct e1000_hw *hw, u16 mbx_id);\n+s32 igb_check_for_ack(struct e1000_hw *hw, u16 mbx_id);\n+s32 igb_check_for_rst(struct e1000_hw *hw, u16 mbx_id);\n+s32 igb_init_mbx_params_pf(struct e1000_hw *hw);\n \n #endif /* _E1000_MBX_H_ */\n",
    "prefixes": [
        "1/3"
    ]
}