get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 675694,
    "url": "http://patchwork.ozlabs.org/api/patches/675694/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/ef9cc22163546101c34fbade622455422549f43c.1474947967.git.joe@perches.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": "<ef9cc22163546101c34fbade622455422549f43c.1474947967.git.joe@perches.com>",
    "list_archive_url": null,
    "date": "2016-09-27T03:46:25",
    "name": "igb: Realign bad indentation",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "5ce590974708303488dd757619fa21066eaa7a7d",
    "submitter": {
        "id": 771,
        "url": "http://patchwork.ozlabs.org/api/people/771/?format=api",
        "name": "Joe Perches",
        "email": "joe@perches.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/ef9cc22163546101c34fbade622455422549f43c.1474947967.git.joe@perches.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/675694/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/675694/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 whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\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 3sk4gn2fn6z9ry7\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 28 Sep 2016 01:36:37 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 58DEE8BF07;\n\tTue, 27 Sep 2016 15:36:35 +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 F5Kc5p7J2yr8; Tue, 27 Sep 2016 15:36:34 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 404D18BFEF;\n\tTue, 27 Sep 2016 15:36:34 +0000 (UTC)",
            "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id B85061C1005\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 27 Sep 2016 15:36:32 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id B0FC731C5C\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 27 Sep 2016 15:36:32 +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 WGZXMd1OJp+K for <intel-wired-lan@lists.osuosl.org>;\n\tTue, 27 Sep 2016 15:36:24 +0000 (UTC)",
            "from smtprelay.hostedemail.com (smtprelay0105.hostedemail.com\n\t[216.40.44.105])\n\tby silver.osuosl.org (Postfix) with ESMTPS id AC40B31EF8\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 27 Sep 2016 15:36:23 +0000 (UTC)",
            "from smtprelay.hostedemail.com (10.5.19.251.rfc1918.com\n\t[10.5.19.251])\n\tby smtpgrave03.hostedemail.com (Postfix) with ESMTP id 974C128D7B9\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 27 Sep 2016 03:46:30 +0000 (UTC)",
            "from filter.hostedemail.com (clb03-v110.bra.tucows.net\n\t[216.40.38.60])\n\tby smtprelay08.hostedemail.com (Postfix) with ESMTP id D310329DD79;\n\tTue, 27 Sep 2016 03:46:27 +0000 (UTC)",
            "from joe-laptop.perches.com (unknown [96.251.125.34])\n\t(Authenticated sender: joe@perches.com)\n\tby omf06.hostedemail.com (Postfix) with ESMTPA;\n\tTue, 27 Sep 2016 03:46:26 +0000 (UTC)"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "delayed 11:49:51 by SQLgrey-1.7.6",
        "X-Session-Marker": "6A6F6540706572636865732E636F6D",
        "X-Spam-Summary": "2, 0, 0, , d41d8cd98f00b204, joe@perches.com, :::::::,\n\tRULES_HIT:41:355:379:541:800:960:973:988:989:1260:1345:1437:1534:1541:1711:1730:1747:1777:1792:2393:2559:2562:2693:3138:3139:3140:3141:3142:3352:3865:3866:3868:3870:5007:6119:6261:9391:10004:10848:11026:11232:11473:11657:11658:11914:12043:12438:12555:13069:13311:13357:14181:14384:14394:14721:21080:30054:30055:30064,\n\t0, RBL:none, CacheIP:none, Bayesian:0.5, 0.5, 0.5, Netcheck:none,\n\tDomainCache:0, MSF:not bulk, SPF:fn, MSBL:0, DNSBL:none,\n\tCustom_rules:0:0:0, LFtime:1, LUA_SUMMARY:none",
        "X-HE-Tag": "dad49_8fa14e26dd24d",
        "X-Filterd-Recvd-Size": "2258",
        "From": "Joe Perches <joe@perches.com>",
        "To": "Jeff Kirsher <jeffrey.t.kirsher@intel.com>",
        "Date": "Mon, 26 Sep 2016 20:46:25 -0700",
        "Message-Id": "<ef9cc22163546101c34fbade622455422549f43c.1474947967.git.joe@perches.com>",
        "X-Mailer": "git-send-email 2.10.0.rc2.1.g053435c",
        "Cc": "netdev@vger.kernel.org, intel-wired-lan@lists.osuosl.org,\n\tlinux-kernel@vger.kernel.org",
        "Subject": "[Intel-wired-lan] [PATCH] igb: Realign bad indentation",
        "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": "Statements should start on tabstops.\n\nUse a single statement and test instead of multiple tests.\n\nSigned-off-by: Joe Perches <joe@perches.com>\n---\n drivers/net/ethernet/intel/igb/e1000_mac.c | 15 ++++++---------\n 1 file changed, 6 insertions(+), 9 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/igb/e1000_mac.c b/drivers/net/ethernet/intel/igb/e1000_mac.c\nindex 5010e2232c50..5eff82678f0b 100644\n--- a/drivers/net/ethernet/intel/igb/e1000_mac.c\n+++ b/drivers/net/ethernet/intel/igb/e1000_mac.c\n@@ -792,15 +792,13 @@ static s32 igb_set_default_fc(struct e1000_hw *hw)\n \t * control setting, then the variable hw->fc will\n \t * be initialized based on a value in the EEPROM.\n \t */\n-\tif (hw->mac.type == e1000_i350) {\n+\tif (hw->mac.type == e1000_i350)\n \t\tlan_offset = NVM_82580_LAN_FUNC_OFFSET(hw->bus.func);\n-\t\tret_val = hw->nvm.ops.read(hw, NVM_INIT_CONTROL2_REG\n-\t\t\t\t\t   + lan_offset, 1, &nvm_data);\n-\t } else {\n-\t\tret_val = hw->nvm.ops.read(hw, NVM_INIT_CONTROL2_REG,\n-\t\t\t\t\t   1, &nvm_data);\n-\t }\n+\telse\n+\t\tlan_offset = 0;\n \n+\tret_val = hw->nvm.ops.read(hw, NVM_INIT_CONTROL2_REG + lan_offset,\n+\t\t\t\t   1, &nvm_data);\n \tif (ret_val) {\n \t\thw_dbg(\"NVM Read Error\\n\");\n \t\tgoto out;\n@@ -808,8 +806,7 @@ static s32 igb_set_default_fc(struct e1000_hw *hw)\n \n \tif ((nvm_data & NVM_WORD0F_PAUSE_MASK) == 0)\n \t\thw->fc.requested_mode = e1000_fc_none;\n-\telse if ((nvm_data & NVM_WORD0F_PAUSE_MASK) ==\n-\t\t NVM_WORD0F_ASM_DIR)\n+\telse if ((nvm_data & NVM_WORD0F_PAUSE_MASK) == NVM_WORD0F_ASM_DIR)\n \t\thw->fc.requested_mode = e1000_fc_tx_pause;\n \telse\n \t\thw->fc.requested_mode = e1000_fc_full;\n",
    "prefixes": []
}