Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/615832/?format=api
{ "id": 615832, "url": "http://patchwork.ozlabs.org/api/patches/615832/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1461791654-68864-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": "<1461791654-68864-1-git-send-email-jeffrey.t.kirsher@intel.com>", "list_archive_url": null, "date": "2016-04-27T21:14:14", "name": "[next-queue,v2] ixgbevf: Remove unused parameter", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "3e312a926cae02e9abf6874b82bd762d8139fc57", "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/1461791654-68864-1-git-send-email-jeffrey.t.kirsher@intel.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/615832/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/615832/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 hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ozlabs.org (Postfix) with ESMTP id 3qwCQb0tJHz9t5s\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 28 Apr 2016 07:14:47 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 6693889A4F;\n\tWed, 27 Apr 2016 21:14:46 +0000 (UTC)", "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id E1K62UDp1uhT; Wed, 27 Apr 2016 21:14:45 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id CFCB289057;\n\tWed, 27 Apr 2016 21:14:45 +0000 (UTC)", "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 98A3F1C0F9E\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 27 Apr 2016 21:14:44 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 9268D8BDA7\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 27 Apr 2016 21:14:44 +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 yRU-W4XhBY1C for <intel-wired-lan@lists.osuosl.org>;\n\tWed, 27 Apr 2016 21:14:40 +0000 (UTC)", "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 9A884869C5\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 27 Apr 2016 21:14:39 +0000 (UTC)", "from fmsmga003.fm.intel.com ([10.253.24.29])\n\tby fmsmga101.fm.intel.com with ESMTP; 27 Apr 2016 14:14:27 -0700", "from jtkirshe-linux.jf.intel.com ([134.134.3.135])\n\tby FMSMGA003.fm.intel.com with ESMTP; 27 Apr 2016 14:14:25 -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.24,543,1455004800\"; d=\"scan'208\";a=\"693365182\"", "From": "Jeff Kirsher <jeffrey.t.kirsher@intel.com>", "To": "intel-wired-lan@lists.osuosl.org", "Date": "Wed, 27 Apr 2016 14:14:14 -0700", "Message-Id": "<1461791654-68864-1-git-send-email-jeffrey.t.kirsher@intel.com>", "X-Mailer": "git-send-email 2.5.5", "Subject": "[Intel-wired-lan] [next-queue v2] ixgbevf: Remove unused parameter", "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: Tony Nguyen <anthony.l.nguyen@intel.com>\n\nixgbevf_update_xcast_mode() is not using the netdev parameter;\nremoving it since it's unnecessary.\n\nSigned-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>\n---\nv2: original patch was not against Jeff's dev-queue branch so did not\n take into consideration all the changes/patches that are in his queue\n\n drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 2 +-\n drivers/net/ethernet/intel/ixgbevf/vf.c | 7 ++-----\n drivers/net/ethernet/intel/ixgbevf/vf.h | 2 +-\n 3 files changed, 4 insertions(+), 7 deletions(-)", "diff": "diff --git a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c\nindex ba17a61..5e348b1 100644\n--- a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c\n+++ b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c\n@@ -1922,7 +1922,7 @@ static void ixgbevf_set_rx_mode(struct net_device *netdev)\n \n \tspin_lock_bh(&adapter->mbx_lock);\n \n-\thw->mac.ops.update_xcast_mode(hw, netdev, xcast_mode);\n+\thw->mac.ops.update_xcast_mode(hw, xcast_mode);\n \n \t/* reprogram multicast list */\n \thw->mac.ops.update_mc_addr_list(hw, netdev);\ndiff --git a/drivers/net/ethernet/intel/ixgbevf/vf.c b/drivers/net/ethernet/intel/ixgbevf/vf.c\nindex 362ed67..5af363c 100644\n--- a/drivers/net/ethernet/intel/ixgbevf/vf.c\n+++ b/drivers/net/ethernet/intel/ixgbevf/vf.c\n@@ -537,13 +537,11 @@ static s32 ixgbevf_hv_update_mc_addr_list_vf(struct ixgbe_hw *hw,\n /**\n * ixgbevf_update_xcast_mode - Update Multicast mode\n * @hw: pointer to the HW structure\n- * @netdev: pointer to net device structure\n * @xcast_mode: new multicast mode\n *\n * Updates the Multicast Mode of VF.\n **/\n-static s32 ixgbevf_update_xcast_mode(struct ixgbe_hw *hw,\n-\t\t\t\t struct net_device *netdev, int xcast_mode)\n+static s32 ixgbevf_update_xcast_mode(struct ixgbe_hw *hw, int xcast_mode)\n {\n \tstruct ixgbe_mbx_info *mbx = &hw->mbx;\n \tu32 msgbuf[2];\n@@ -577,8 +575,7 @@ static s32 ixgbevf_update_xcast_mode(struct ixgbe_hw *hw,\n /**\n * Hyper-V variant - just a stub.\n */\n-static s32 ixgbevf_hv_update_xcast_mode(struct ixgbe_hw *hw,\n-\t\t\t\t\tstruct net_device *netdev, int xcast_mode)\n+static s32 ixgbevf_hv_update_xcast_mode(struct ixgbe_hw *hw, int xcast_mode)\n {\n \treturn -EOPNOTSUPP;\n }\ndiff --git a/drivers/net/ethernet/intel/ixgbevf/vf.h b/drivers/net/ethernet/intel/ixgbevf/vf.h\nindex 6770f10..2cac610 100644\n--- a/drivers/net/ethernet/intel/ixgbevf/vf.h\n+++ b/drivers/net/ethernet/intel/ixgbevf/vf.h\n@@ -64,7 +64,7 @@ struct ixgbe_mac_operations {\n \ts32 (*set_uc_addr)(struct ixgbe_hw *, u32, u8 *);\n \ts32 (*init_rx_addrs)(struct ixgbe_hw *);\n \ts32 (*update_mc_addr_list)(struct ixgbe_hw *, struct net_device *);\n-\ts32 (*update_xcast_mode)(struct ixgbe_hw *, struct net_device *, int);\n+\ts32 (*update_xcast_mode)(struct ixgbe_hw *, int);\n \ts32 (*enable_mc)(struct ixgbe_hw *);\n \ts32 (*disable_mc)(struct ixgbe_hw *);\n \ts32 (*clear_vfta)(struct ixgbe_hw *);\n", "prefixes": [ "next-queue", "v2" ] }