Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/554126/?format=api
{ "id": 554126, "url": "http://patchwork.ozlabs.org/api/patches/554126/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20151208235034.125723.15232.stgit@bwallan-cwp1.jf.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": "<20151208235034.125723.15232.stgit@bwallan-cwp1.jf.intel.com>", "list_archive_url": null, "date": "2015-12-08T23:50:34", "name": "[1/2] fm10k: address operator not needed when declaring function pointers", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "c34c68e8b164d35127fbda12c42cfff762d81dd4", "submitter": { "id": 503, "url": "http://patchwork.ozlabs.org/api/people/503/?format=api", "name": "Allan, Bruce W", "email": "bruce.w.allan@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/20151208235034.125723.15232.stgit@bwallan-cwp1.jf.intel.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/554126/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/554126/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\tby ozlabs.org (Postfix) with ESMTP id 7349B1402B4\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 9 Dec 2015 10:50:38 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id BEC308C013;\n\tTue, 8 Dec 2015 23:50:37 +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 jNyXp4RVXbrH; Tue, 8 Dec 2015 23:50:37 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 2B6E98B325;\n\tTue, 8 Dec 2015 23:50:37 +0000 (UTC)", "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 4DB0B1C15FF\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 8 Dec 2015 23:50:35 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 47B73884BE\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 8 Dec 2015 23:50: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 ophOwYE1lAEf for <intel-wired-lan@lists.osuosl.org>;\n\tTue, 8 Dec 2015 23:50:34 +0000 (UTC)", "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 3BA1288883\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 8 Dec 2015 23:50:34 +0000 (UTC)", "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby fmsmga103.fm.intel.com with ESMTP; 08 Dec 2015 15:50:33 -0800", "from bwallan-cwp1.jf.intel.com (HELO bwallan-cwp1)\n\t([10.166.136.47])\n\tby fmsmga001.fm.intel.com with ESMTP; 08 Dec 2015 15:50:33 -0800", "from bwallan-cwp1.jf.intel.com (localhost [127.0.0.1])\n\tby bwallan-cwp1 (8.15.2/8.15.1) with ESMTP id tB8NoYfZ125749\n\tfor <intel-wired-lan@lists.osuosl.org>; Tue, 8 Dec 2015 15:50:34 -0800" ], "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.20,401,1444719600\"; d=\"scan'208\";a=\"856843260\"", "From": "Bruce Allan <bruce.w.allan@intel.com>", "To": "intel-wired-lan@lists.osuosl.org", "Date": "Tue, 08 Dec 2015 15:50:34 -0800", "Message-ID": "<20151208235034.125723.15232.stgit@bwallan-cwp1.jf.intel.com>", "User-Agent": "StGit/0.17.1-dirty", "MIME-Version": "1.0", "Subject": "[Intel-wired-lan] [PATCH 1/2] fm10k: address operator not needed\n\twhen declaring function pointers", "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>", "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": "Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>\n---\n drivers/net/ethernet/intel/fm10k/fm10k_pf.c | 58 ++++++++++++++-------------\n drivers/net/ethernet/intel/fm10k/fm10k_vf.c | 38 +++++++++---------\n 2 files changed, 48 insertions(+), 48 deletions(-)", "diff": "diff --git a/drivers/net/ethernet/intel/fm10k/fm10k_pf.c b/drivers/net/ethernet/intel/fm10k/fm10k_pf.c\nindex 7dd7ca8..606c0f1 100644\n--- a/drivers/net/ethernet/intel/fm10k/fm10k_pf.c\n+++ b/drivers/net/ethernet/intel/fm10k/fm10k_pf.c\n@@ -1867,38 +1867,38 @@ static const struct fm10k_msg_data fm10k_msg_data_pf[] = {\n };\n \n static struct fm10k_mac_ops mac_ops_pf = {\n-\t.get_bus_info\t\t= &fm10k_get_bus_info_generic,\n-\t.reset_hw\t\t= &fm10k_reset_hw_pf,\n-\t.init_hw\t\t= &fm10k_init_hw_pf,\n-\t.start_hw\t\t= &fm10k_start_hw_generic,\n-\t.stop_hw\t\t= &fm10k_stop_hw_generic,\n-\t.update_vlan\t\t= &fm10k_update_vlan_pf,\n-\t.read_mac_addr\t\t= &fm10k_read_mac_addr_pf,\n-\t.update_uc_addr\t\t= &fm10k_update_uc_addr_pf,\n-\t.update_mc_addr\t\t= &fm10k_update_mc_addr_pf,\n-\t.update_xcast_mode\t= &fm10k_update_xcast_mode_pf,\n-\t.update_int_moderator\t= &fm10k_update_int_moderator_pf,\n-\t.update_lport_state\t= &fm10k_update_lport_state_pf,\n-\t.update_hw_stats\t= &fm10k_update_hw_stats_pf,\n-\t.rebind_hw_stats\t= &fm10k_rebind_hw_stats_pf,\n-\t.configure_dglort_map\t= &fm10k_configure_dglort_map_pf,\n-\t.set_dma_mask\t\t= &fm10k_set_dma_mask_pf,\n-\t.get_fault\t\t= &fm10k_get_fault_pf,\n-\t.get_host_state\t\t= &fm10k_get_host_state_pf,\n-\t.adjust_systime\t\t= &fm10k_adjust_systime_pf,\n-\t.read_systime\t\t= &fm10k_read_systime_pf,\n+\t.get_bus_info\t\t= fm10k_get_bus_info_generic,\n+\t.reset_hw\t\t= fm10k_reset_hw_pf,\n+\t.init_hw\t\t= fm10k_init_hw_pf,\n+\t.start_hw\t\t= fm10k_start_hw_generic,\n+\t.stop_hw\t\t= fm10k_stop_hw_generic,\n+\t.update_vlan\t\t= fm10k_update_vlan_pf,\n+\t.read_mac_addr\t\t= fm10k_read_mac_addr_pf,\n+\t.update_uc_addr\t\t= fm10k_update_uc_addr_pf,\n+\t.update_mc_addr\t\t= fm10k_update_mc_addr_pf,\n+\t.update_xcast_mode\t= fm10k_update_xcast_mode_pf,\n+\t.update_int_moderator\t= fm10k_update_int_moderator_pf,\n+\t.update_lport_state\t= fm10k_update_lport_state_pf,\n+\t.update_hw_stats\t= fm10k_update_hw_stats_pf,\n+\t.rebind_hw_stats\t= fm10k_rebind_hw_stats_pf,\n+\t.configure_dglort_map\t= fm10k_configure_dglort_map_pf,\n+\t.set_dma_mask\t\t= fm10k_set_dma_mask_pf,\n+\t.get_fault\t\t= fm10k_get_fault_pf,\n+\t.get_host_state\t\t= fm10k_get_host_state_pf,\n+\t.adjust_systime\t\t= fm10k_adjust_systime_pf,\n+\t.read_systime\t\t= fm10k_read_systime_pf,\n };\n \n static struct fm10k_iov_ops iov_ops_pf = {\n-\t.assign_resources\t\t= &fm10k_iov_assign_resources_pf,\n-\t.configure_tc\t\t\t= &fm10k_iov_configure_tc_pf,\n-\t.assign_int_moderator\t\t= &fm10k_iov_assign_int_moderator_pf,\n+\t.assign_resources\t\t= fm10k_iov_assign_resources_pf,\n+\t.configure_tc\t\t\t= fm10k_iov_configure_tc_pf,\n+\t.assign_int_moderator\t\t= fm10k_iov_assign_int_moderator_pf,\n \t.assign_default_mac_vlan\t= fm10k_iov_assign_default_mac_vlan_pf,\n-\t.reset_resources\t\t= &fm10k_iov_reset_resources_pf,\n-\t.set_lport\t\t\t= &fm10k_iov_set_lport_pf,\n-\t.reset_lport\t\t\t= &fm10k_iov_reset_lport_pf,\n-\t.update_stats\t\t\t= &fm10k_iov_update_stats_pf,\n-\t.report_timestamp\t\t= &fm10k_iov_report_timestamp_pf,\n+\t.reset_resources\t\t= fm10k_iov_reset_resources_pf,\n+\t.set_lport\t\t\t= fm10k_iov_set_lport_pf,\n+\t.reset_lport\t\t\t= fm10k_iov_reset_lport_pf,\n+\t.update_stats\t\t\t= fm10k_iov_update_stats_pf,\n+\t.report_timestamp\t\t= fm10k_iov_report_timestamp_pf,\n };\n \n static s32 fm10k_get_invariants_pf(struct fm10k_hw *hw)\n@@ -1910,7 +1910,7 @@ static s32 fm10k_get_invariants_pf(struct fm10k_hw *hw)\n \n struct fm10k_info fm10k_pf_info = {\n \t.mac\t\t= fm10k_mac_pf,\n-\t.get_invariants\t= &fm10k_get_invariants_pf,\n+\t.get_invariants\t= fm10k_get_invariants_pf,\n \t.mac_ops\t= &mac_ops_pf,\n \t.iov_ops\t= &iov_ops_pf,\n };\ndiff --git a/drivers/net/ethernet/intel/fm10k/fm10k_vf.c b/drivers/net/ethernet/intel/fm10k/fm10k_vf.c\nindex f1dc6e8..38219f5 100644\n--- a/drivers/net/ethernet/intel/fm10k/fm10k_vf.c\n+++ b/drivers/net/ethernet/intel/fm10k/fm10k_vf.c\n@@ -563,24 +563,24 @@ static const struct fm10k_msg_data fm10k_msg_data_vf[] = {\n };\n \n static struct fm10k_mac_ops mac_ops_vf = {\n-\t.get_bus_info\t\t= &fm10k_get_bus_info_generic,\n-\t.reset_hw\t\t= &fm10k_reset_hw_vf,\n-\t.init_hw\t\t= &fm10k_init_hw_vf,\n-\t.start_hw\t\t= &fm10k_start_hw_generic,\n-\t.stop_hw\t\t= &fm10k_stop_hw_vf,\n-\t.update_vlan\t\t= &fm10k_update_vlan_vf,\n-\t.read_mac_addr\t\t= &fm10k_read_mac_addr_vf,\n-\t.update_uc_addr\t\t= &fm10k_update_uc_addr_vf,\n-\t.update_mc_addr\t\t= &fm10k_update_mc_addr_vf,\n-\t.update_xcast_mode\t= &fm10k_update_xcast_mode_vf,\n-\t.update_int_moderator\t= &fm10k_update_int_moderator_vf,\n-\t.update_lport_state\t= &fm10k_update_lport_state_vf,\n-\t.update_hw_stats\t= &fm10k_update_hw_stats_vf,\n-\t.rebind_hw_stats\t= &fm10k_rebind_hw_stats_vf,\n-\t.configure_dglort_map\t= &fm10k_configure_dglort_map_vf,\n-\t.get_host_state\t\t= &fm10k_get_host_state_generic,\n-\t.adjust_systime\t\t= &fm10k_adjust_systime_vf,\n-\t.read_systime\t\t= &fm10k_read_systime_vf,\n+\t.get_bus_info\t\t= fm10k_get_bus_info_generic,\n+\t.reset_hw\t\t= fm10k_reset_hw_vf,\n+\t.init_hw\t\t= fm10k_init_hw_vf,\n+\t.start_hw\t\t= fm10k_start_hw_generic,\n+\t.stop_hw\t\t= fm10k_stop_hw_vf,\n+\t.update_vlan\t\t= fm10k_update_vlan_vf,\n+\t.read_mac_addr\t\t= fm10k_read_mac_addr_vf,\n+\t.update_uc_addr\t\t= fm10k_update_uc_addr_vf,\n+\t.update_mc_addr\t\t= fm10k_update_mc_addr_vf,\n+\t.update_xcast_mode\t= fm10k_update_xcast_mode_vf,\n+\t.update_int_moderator\t= fm10k_update_int_moderator_vf,\n+\t.update_lport_state\t= fm10k_update_lport_state_vf,\n+\t.update_hw_stats\t= fm10k_update_hw_stats_vf,\n+\t.rebind_hw_stats\t= fm10k_rebind_hw_stats_vf,\n+\t.configure_dglort_map\t= fm10k_configure_dglort_map_vf,\n+\t.get_host_state\t\t= fm10k_get_host_state_generic,\n+\t.adjust_systime\t\t= fm10k_adjust_systime_vf,\n+\t.read_systime\t\t= fm10k_read_systime_vf,\n };\n \n static s32 fm10k_get_invariants_vf(struct fm10k_hw *hw)\n@@ -592,6 +592,6 @@ static s32 fm10k_get_invariants_vf(struct fm10k_hw *hw)\n \n struct fm10k_info fm10k_vf_info = {\n \t.mac\t\t= fm10k_mac_vf,\n-\t.get_invariants\t= &fm10k_get_invariants_vf,\n+\t.get_invariants\t= fm10k_get_invariants_vf,\n \t.mac_ops\t= &mac_ops_vf,\n };\n", "prefixes": [ "1/2" ] }