Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/519484/?format=api
{ "id": 519484, "url": "http://patchwork.ozlabs.org/api/patches/519484/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/55FB3720.6010805@gmail.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": "<55FB3720.6010805@gmail.com>", "list_archive_url": null, "date": "2015-09-17T21:56:48", "name": "e1000_hw_c_checkpatch_coding_style_errors_remove", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "5dd111fae7ffe894f62d941168e527722e02e218", "submitter": { "id": 67266, "url": "http://patchwork.ozlabs.org/api/people/67266/?format=api", "name": "Janusz Wolak", "email": "januszvdm@gmail.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/55FB3720.6010805@gmail.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/519484/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/519484/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 silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ozlabs.org (Postfix) with ESMTP id 43E50140273\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 19 Sep 2015 02:58:49 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 1100131CBA;\n\tFri, 18 Sep 2015 16:58:49 +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 fG1hVm1PsLcE; Fri, 18 Sep 2015 16:58:48 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id 1959B2EF77;\n\tFri, 18 Sep 2015 16:58:48 +0000 (UTC)", "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id A03521C1000\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 17 Sep 2015 21:56:53 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 9A36F33C74\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 17 Sep 2015 21:56:53 +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 SJd6T1gn1TgL for <intel-wired-lan@lists.osuosl.org>;\n\tThu, 17 Sep 2015 21:56:52 +0000 (UTC)", "from mail-la0-f41.google.com (mail-la0-f41.google.com\n\t[209.85.215.41])\n\tby silver.osuosl.org (Postfix) with ESMTPS id A772533C55\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 17 Sep 2015 21:56:51 +0000 (UTC)", "by lagj9 with SMTP id j9so19983594lag.2\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 17 Sep 2015 14:56:49 -0700 (PDT)", "from [192.168.0.100] (106-153-255-130.dynamic.t-mont.net.pl.\n\t[130.255.153.106])\n\tby smtp.gmail.com with ESMTPSA id e3sm874915laa.0.2015.09.17.14.56.48\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 17 Sep 2015 14:56:49 -0700 (PDT)" ], "Authentication-Results": "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com header.b=MxWz9YiO;\n\tdkim-atps=neutral", "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\n\th=to:from:subject:message-id:date:user-agent:mime-version\n\t:content-type; bh=y8PaSwVDzWHhz+aNfmPVyVSVC0CFiu4wr/VvbWjCeYI=;\n\tb=MxWz9YiOVsS3O2osnsqqUrTjwd3uhorkHVAJVVu1DlykP7Q3YiO6EtHxWH2gmaI0mI\n\tIPbw3EFPYrc2+ZEx4Jm/ZGBDx6rpWEkgKSO5apsfE5mRTqryTkzahI83jsyvPJCqMaLH\n\tgnAtmEOnUUUSH84wDYjLsL6qlVKYxTMjUgz7pyjHyOVJXH0BsOJjGN2hAxcRU/SdyAY3\n\tjCWl8DYOXuj9gm3JG/9RXrJ1znZ7T9OcEfLgvEkxDlY28bsNG3IpAgnZZsTPD573ktVj\n\tgD94a54VoZignUdXnPaKodMThiOM3jL4MJI6ncVo5rOQK42oNil3DJdqrLu+dEq8TT3Y\n\tWmcA==", "X-Received": "by 10.152.37.230 with SMTP id b6mr1716243lak.34.1442527009828;\n\tThu, 17 Sep 2015 14:56:49 -0700 (PDT)", "To": "intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org", "From": "Janusz Wolak <januszvdm@gmail.com>", "Message-ID": "<55FB3720.6010805@gmail.com>", "Date": "Thu, 17 Sep 2015 23:56:48 +0200", "User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101\n\tThunderbird/38.2.0", "MIME-Version": "1.0", "Content-Type": "multipart/mixed;\n\tboundary=\"------------030100060908010907050409\"", "X-Mailman-Approved-At": "Fri, 18 Sep 2015 16:58:47 +0000", "Subject": "[Intel-wired-lan] e1000_hw_c_checkpatch_coding_style_errors_remove", "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>", "Errors-To": "intel-wired-lan-bounces@lists.osuosl.org", "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@lists.osuosl.org>" }, "content": "", "diff": "From 4ac9fd87e092f58eb7a6ed898360dfd83c5c10f5 Mon Sep 17 00:00:00 2001\nFrom: Janusz Wolak <januszvdm@gmail.com>\nDate: Thu, 17 Sep 2015 23:34:29 +0200\nSubject: [PATCH] Remove checkpatch coding style errors.\n\nSigned-off-by: Janusz Wolak <januszvdm@gmail.com>\n---\n drivers/net/ethernet/intel/e1000/e1000_hw.c | 16 +++++++---------\n 1 file changed, 7 insertions(+), 9 deletions(-)\n\ndiff --git a/drivers/net/ethernet/intel/e1000/e1000_hw.c b/drivers/net/ethernet/intel/e1000/e1000_hw.c\nindex 45c8c864..cc1fe40 100644\n--- a/drivers/net/ethernet/intel/e1000/e1000_hw.c\n+++ b/drivers/net/ethernet/intel/e1000/e1000_hw.c\n@@ -683,7 +683,7 @@ static s32 e1000_adjust_serdes_amplitude(struct e1000_hw *hw)\n \t}\n \n \tret_val = e1000_read_eeprom(hw, EEPROM_SERDES_AMPLITUDE, 1,\n-\t &eeprom_data);\n+\t\t\t\t &eeprom_data);\n \tif (ret_val) {\n \t\treturn ret_val;\n \t}\n@@ -1652,7 +1652,7 @@ s32 e1000_phy_setup_autoneg(struct e1000_hw *hw)\n \t\tmii_1000t_ctrl_reg = 0;\n \t} else {\n \t\tret_val = e1000_write_phy_reg(hw, PHY_1000T_CTRL,\n-\t\t mii_1000t_ctrl_reg);\n+\t\t\t\t\t mii_1000t_ctrl_reg);\n \t\tif (ret_val)\n \t\t\treturn ret_val;\n \t}\n@@ -2193,8 +2193,7 @@ static s32 e1000_config_fc_after_link_up(struct e1000_hw *hw)\n \t\t\telse if (!(mii_nway_adv_reg & NWAY_AR_PAUSE) &&\n \t\t\t\t (mii_nway_adv_reg & NWAY_AR_ASM_DIR) &&\n \t\t\t\t (mii_nway_lp_ability_reg & NWAY_LPAR_PAUSE) &&\n-\t\t\t\t (mii_nway_lp_ability_reg & NWAY_LPAR_ASM_DIR))\n-\t\t\t{\n+\t\t\t\t (mii_nway_lp_ability_reg & NWAY_LPAR_ASM_DIR)) {\n \t\t\t\thw->fc = E1000_FC_TX_PAUSE;\n \t\t\t\te_dbg\n \t\t\t\t (\"Flow Control = TX PAUSE frames only.\\n\");\n@@ -2210,8 +2209,7 @@ static s32 e1000_config_fc_after_link_up(struct e1000_hw *hw)\n \t\t\telse if ((mii_nway_adv_reg & NWAY_AR_PAUSE) &&\n \t\t\t\t (mii_nway_adv_reg & NWAY_AR_ASM_DIR) &&\n \t\t\t\t !(mii_nway_lp_ability_reg & NWAY_LPAR_PAUSE) &&\n-\t\t\t\t (mii_nway_lp_ability_reg & NWAY_LPAR_ASM_DIR))\n-\t\t\t{\n+\t\t\t\t (mii_nway_lp_ability_reg & NWAY_LPAR_ASM_DIR)) {\n \t\t\t\thw->fc = E1000_FC_RX_PAUSE;\n \t\t\t\te_dbg\n \t\t\t\t (\"Flow Control = RX PAUSE frames only.\\n\");\n@@ -3449,7 +3447,7 @@ s32 e1000_phy_get_info(struct e1000_hw *hw, struct e1000_phy_info *phy_info)\n \tif (hw->phy_type == e1000_phy_igp)\n \t\treturn e1000_phy_igp_get_info(hw, phy_info);\n \telse if ((hw->phy_type == e1000_phy_8211) ||\n-\t (hw->phy_type == e1000_phy_8201))\n+\t\t (hw->phy_type == e1000_phy_8201))\n \t\treturn E1000_SUCCESS;\n \telse\n \t\treturn e1000_phy_m88_get_info(hw, phy_info);\n@@ -3896,7 +3894,7 @@ static s32 e1000_do_read_eeprom(struct e1000_hw *hw, u16 offset, u16 words,\n \n \tif (hw->mac_type == e1000_ce4100) {\n \t\tGBE_CONFIG_FLASH_READ(GBE_CONFIG_BASE_VIRT, offset, words,\n-\t\t data);\n+\t\t\t\t data);\n \t\treturn E1000_SUCCESS;\n \t}\n \n@@ -4070,7 +4068,7 @@ static s32 e1000_do_write_eeprom(struct e1000_hw *hw, u16 offset, u16 words,\n \n \tif (hw->mac_type == e1000_ce4100) {\n \t\tGBE_CONFIG_FLASH_WRITE(GBE_CONFIG_BASE_VIRT, offset, words,\n-\t\t data);\n+\t\t\t\t data);\n \t\treturn E1000_SUCCESS;\n \t}\n \n-- \n1.9.1\n\n", "prefixes": [] }