get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 526075,
    "url": "http://patchwork.ozlabs.org/api/patches/526075/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1443946189-8543-1-git-send-email-jeffrey.t.kirsher@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": "<1443946189-8543-1-git-send-email-jeffrey.t.kirsher@intel.com>",
    "list_archive_url": null,
    "date": "2015-10-04T08:09:49",
    "name": "[v2] i40evf: fix compiler warning of unused variable",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "80c17e2418ead865c33aec4b021c7bba1403fcee",
    "submitter": {
        "id": 473,
        "url": "http://patchwork.ozlabs.org/api/people/473/?format=api",
        "name": "Kirsher, Jeffrey T",
        "email": "jeffrey.t.kirsher@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/1443946189-8543-1-git-send-email-jeffrey.t.kirsher@intel.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/526075/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/526075/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 fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ozlabs.org (Postfix) with ESMTP id 2D4001402B6\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  4 Oct 2015 19:09:57 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 97047A3DC9;\n\tSun,  4 Oct 2015 08:09:55 +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 tOYOxx69agyg; Sun,  4 Oct 2015 08:09:54 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 4E849A3DC4;\n\tSun,  4 Oct 2015 08:09:54 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id DB3B51C0D85\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSun,  4 Oct 2015 08:09:53 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id D0FE38D2DD\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSun,  4 Oct 2015 08:09:53 +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 utb2dV5MFMcR for <intel-wired-lan@lists.osuosl.org>;\n\tSun,  4 Oct 2015 08:09:53 +0000 (UTC)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 347898BBF7\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSun,  4 Oct 2015 08:09:53 +0000 (UTC)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby fmsmga103.fm.intel.com with ESMTP; 04 Oct 2015 01:09:52 -0700",
            "from jtkirshe-linux.jf.intel.com ([134.134.3.91])\n\tby fmsmga001.fm.intel.com with ESMTP; 04 Oct 2015 01:09:52 -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.17,632,1437462000\"; d=\"scan'208\";a=\"803213581\"",
        "From": "Jeff Kirsher <jeffrey.t.kirsher@intel.com>",
        "To": "intel-wired-lan@lists.osuosl.org",
        "Date": "Sun,  4 Oct 2015 01:09:49 -0700",
        "Message-Id": "<1443946189-8543-1-git-send-email-jeffrey.t.kirsher@intel.com>",
        "X-Mailer": "git-send-email 2.4.3",
        "Subject": "[Intel-wired-lan] [PATCH v2] i40evf: fix compiler warning of unused\n\tvariable",
        "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>",
        "MIME-Version": "1.0",
        "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": "From: Jesse Brandeburg <jesse.brandeburg@intel.com>\n\nCompiler complained of an unused variable, which the driver was just\nusing to store the result of a rd32 which is used to clear a register\nunconditionally.  Just drop the unused variable and re-use one.\n\nSigned-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>\n---\nv2: Fix title since Jesse used the same title for two difference patches\n\n drivers/net/ethernet/intel/i40evf/i40evf_main.c | 6 ++----\n 1 file changed, 2 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/i40evf/i40evf_main.c b/drivers/net/ethernet/intel/i40evf/i40evf_main.c\nindex e5e132a..3abd36d 100644\n--- a/drivers/net/ethernet/intel/i40evf/i40evf_main.c\n+++ b/drivers/net/ethernet/intel/i40evf/i40evf_main.c\n@@ -305,12 +305,10 @@ static irqreturn_t i40evf_msix_aq(int irq, void *data)\n \tstruct i40evf_adapter *adapter = netdev_priv(netdev);\n \tstruct i40e_hw *hw = &adapter->hw;\n \tu32 val;\n-\tu32 ena_mask;\n \n-\t/* handle non-queue interrupts */\n+\t/* handle non-queue interrupts, these reads clear the registers */\n \tval = rd32(hw, I40E_VFINT_ICR01);\n-\tena_mask = rd32(hw, I40E_VFINT_ICR0_ENA1);\n-\n+\tval = rd32(hw, I40E_VFINT_ICR0_ENA1);\n \n \tval = rd32(hw, I40E_VFINT_DYN_CTL01);\n \tval = val | I40E_VFINT_DYN_CTL01_CLEARPBA_MASK;\n",
    "prefixes": [
        "v2"
    ]
}