get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 493935,
    "url": "http://patchwork.ozlabs.org/api/patches/493935/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1436571370-103673-3-git-send-email-catherine.sullivan@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": "<1436571370-103673-3-git-send-email-catherine.sullivan@intel.com>",
    "list_archive_url": null,
    "date": "2015-07-10T23:35:58",
    "name": "[next,S8,03/15] i40e/i40evf: Move helper functions to a header file",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "b0a48d0d404ea962ac3288b2e175387fd28a0c04",
    "submitter": {
        "id": 13931,
        "url": "http://patchwork.ozlabs.org/api/people/13931/?format=api",
        "name": "Catherine Sullivan",
        "email": "catherine.sullivan@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/1436571370-103673-3-git-send-email-catherine.sullivan@intel.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/493935/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/493935/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 E6F5A1402BE\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 11 Jul 2015 09:34:12 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 375158B9E0;\n\tFri, 10 Jul 2015 23:34:12 +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 57eRO+kUo9vB; Fri, 10 Jul 2015 23:34:03 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 16F858B866;\n\tFri, 10 Jul 2015 23:34:02 +0000 (UTC)",
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id BDA601C21C5\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 10 Jul 2015 23:33:59 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id B9C10938F6\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 10 Jul 2015 23:33:59 +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 hVnhY6o+ukGf for <intel-wired-lan@lists.osuosl.org>;\n\tFri, 10 Jul 2015 23:33:57 +0000 (UTC)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 5DC26938F1\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 10 Jul 2015 23:33:57 +0000 (UTC)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby orsmga101.jf.intel.com with ESMTP; 10 Jul 2015 16:33:41 -0700",
            "from catheri1-tigger.jf.intel.com ([134.134.176.92])\n\tby orsmga001.jf.intel.com with ESMTP; 10 Jul 2015 16:33:41 -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.15,450,1432623600\"; d=\"scan'208\";a=\"726728071\"",
        "From": "Catherine Sullivan <catherine.sullivan@intel.com>",
        "To": "intel-wired-lan@lists.osuosl.org",
        "Date": "Fri, 10 Jul 2015 19:35:58 -0400",
        "Message-Id": "<1436571370-103673-3-git-send-email-catherine.sullivan@intel.com>",
        "X-Mailer": "git-send-email 1.9.3",
        "In-Reply-To": "<1436571370-103673-1-git-send-email-catherine.sullivan@intel.com>",
        "References": "<1436571370-103673-1-git-send-email-catherine.sullivan@intel.com>",
        "Cc": "Anjali Singhai Jain <anjali.singhai@intel.com>",
        "Subject": "[Intel-wired-lan] [intel-wired-lan][next PATCH S8 03/15]\n\ti40e/i40evf: Move helper functions to a header file",
        "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: Anjali Singhai Jain <anjali.singhai@intel.com>\n\nA new header file i40e_helper.h is added to both the PF and VF driver\nwith functions used by both drivers.\n\nSigned-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>\nChange-ID: I3c6daedc2ff6f32bc7624bf5eaef05899d35f28b\n---\n drivers/net/ethernet/intel/i40e/i40e_helper.h   | 102 ++++++++++++++++++++++++\n drivers/net/ethernet/intel/i40e/i40e_main.c     |  72 +----------------\n drivers/net/ethernet/intel/i40evf/i40e_helper.h | 102 ++++++++++++++++++++++++\n drivers/net/ethernet/intel/i40evf/i40evf_main.c |  80 +------------------\n 4 files changed, 206 insertions(+), 150 deletions(-)\n create mode 100644 drivers/net/ethernet/intel/i40e/i40e_helper.h\n create mode 100644 drivers/net/ethernet/intel/i40evf/i40e_helper.h",
    "diff": "diff --git a/drivers/net/ethernet/intel/i40e/i40e_helper.h b/drivers/net/ethernet/intel/i40e/i40e_helper.h\nnew file mode 100644\nindex 0000000..0eb1c75\n--- /dev/null\n+++ b/drivers/net/ethernet/intel/i40e/i40e_helper.h\n@@ -0,0 +1,102 @@\n+/*******************************************************************************\n+ *\n+ * Intel Ethernet Controller XL710 Family Linux Driver\n+ * Copyright(c) 2013 - 2015 Intel Corporation.\n+ *\n+ * This program is free software; you can redistribute it and/or modify it\n+ * under the terms and conditions of the GNU General Public License,\n+ * version 2, as published by the Free Software Foundation.\n+ *\n+ * This program is distributed in the hope it will be useful, but WITHOUT\n+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\n+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for\n+ * more details.\n+ *\n+ * You should have received a copy of the GNU General Public License along\n+ * with this program.  If not, see <http://www.gnu.org/licenses/>.\n+ *\n+ * The full GNU General Public License is included in this distribution in\n+ * the file called \"COPYING\".\n+ *\n+ * Contact Information:\n+ * e1000-devel Mailing List <e1000-devel@lists.sourceforge.net>\n+ * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497\n+ *\n+ ******************************************************************************/\n+\n+#ifndef _I40E_HELPER_H_\n+#define _I40E_HELPER_H_\n+\n+/**\n+ * i40e_allocate_dma_mem_d - OS specific memory alloc for shared code\n+ * @hw:   pointer to the HW structure\n+ * @mem:  ptr to mem struct to fill out\n+ * @size: size of memory requested\n+ * @alignment: what to align the allocation to\n+ **/\n+inline int i40e_allocate_dma_mem_d(struct i40e_hw *hw,\n+\t\t\t\t   struct i40e_dma_mem *mem,\n+\t\t\t\t   u64 size, u32 alignment)\n+{\n+\tstruct i40e_pf *nf = (struct i40e_pf *)hw->back;\n+\n+\tmem->size = ALIGN(size, alignment);\n+\tmem->va = dma_zalloc_coherent(&nf->pdev->dev, mem->size,\n+\t\t\t\t      &mem->pa, GFP_KERNEL);\n+\tif (!mem->va)\n+\t\treturn -ENOMEM;\n+\n+\treturn 0;\n+}\n+\n+/**\n+ * i40e_free_dma_mem_d - OS specific memory free for shared code\n+ * @hw:   pointer to the HW structure\n+ * @mem:  ptr to mem struct to free\n+ **/\n+inline int i40e_free_dma_mem_d(struct i40e_hw *hw, struct i40e_dma_mem *mem)\n+{\n+\tstruct i40e_pf *nf = (struct i40e_pf *)hw->back;\n+\n+\tdma_free_coherent(&nf->pdev->dev, mem->size, mem->va, mem->pa);\n+\tmem->va = NULL;\n+\tmem->pa = 0;\n+\tmem->size = 0;\n+\n+\treturn 0;\n+}\n+\n+/**\n+ * i40e_allocate_virt_mem_d - OS specific memory alloc for shared code\n+ * @hw:   pointer to the HW structure\n+ * @mem:  ptr to mem struct to fill out\n+ * @size: size of memory requested\n+ **/\n+inline int i40e_allocate_virt_mem_d(struct i40e_hw *hw,\n+\t\t\t\t    struct i40e_virt_mem *mem,\n+\t\t\t\t    u32 size)\n+{\n+\tmem->size = size;\n+\tmem->va = kzalloc(size, GFP_KERNEL);\n+\n+\tif (!mem->va)\n+\t\treturn -ENOMEM;\n+\n+\treturn 0;\n+}\n+\n+/**\n+ * i40e_free_virt_mem_d - OS specific memory free for shared code\n+ * @hw:   pointer to the HW structure\n+ * @mem:  ptr to mem struct to free\n+ **/\n+inline int i40e_free_virt_mem_d(struct i40e_hw *hw, struct i40e_virt_mem *mem)\n+{\n+\t/* it's ok to kfree a NULL pointer */\n+\tkfree(mem->va);\n+\tmem->va = NULL;\n+\tmem->size = 0;\n+\n+\treturn 0;\n+}\n+#endif /* _I40E_HELPER_H_ */\ndiff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c\nindex e9253e4..18bc8c5 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e_main.c\n+++ b/drivers/net/ethernet/intel/i40e/i40e_main.c\n@@ -26,6 +26,7 @@\n \n /* Local includes */\n #include \"i40e.h\"\n+#include \"i40e_helper.h\"\n #include \"i40e_diag.h\"\n #ifdef CONFIG_I40E_VXLAN\n #include <net/vxlan.h>\n@@ -95,77 +96,6 @@ MODULE_LICENSE(\"GPL\");\n MODULE_VERSION(DRV_VERSION);\n \n /**\n- * i40e_allocate_dma_mem_d - OS specific memory alloc for shared code\n- * @hw:   pointer to the HW structure\n- * @mem:  ptr to mem struct to fill out\n- * @size: size of memory requested\n- * @alignment: what to align the allocation to\n- **/\n-int i40e_allocate_dma_mem_d(struct i40e_hw *hw, struct i40e_dma_mem *mem,\n-\t\t\t    u64 size, u32 alignment)\n-{\n-\tstruct i40e_pf *pf = (struct i40e_pf *)hw->back;\n-\n-\tmem->size = ALIGN(size, alignment);\n-\tmem->va = dma_zalloc_coherent(&pf->pdev->dev, mem->size,\n-\t\t\t\t      &mem->pa, GFP_KERNEL);\n-\tif (!mem->va)\n-\t\treturn -ENOMEM;\n-\n-\treturn 0;\n-}\n-\n-/**\n- * i40e_free_dma_mem_d - OS specific memory free for shared code\n- * @hw:   pointer to the HW structure\n- * @mem:  ptr to mem struct to free\n- **/\n-int i40e_free_dma_mem_d(struct i40e_hw *hw, struct i40e_dma_mem *mem)\n-{\n-\tstruct i40e_pf *pf = (struct i40e_pf *)hw->back;\n-\n-\tdma_free_coherent(&pf->pdev->dev, mem->size, mem->va, mem->pa);\n-\tmem->va = NULL;\n-\tmem->pa = 0;\n-\tmem->size = 0;\n-\n-\treturn 0;\n-}\n-\n-/**\n- * i40e_allocate_virt_mem_d - OS specific memory alloc for shared code\n- * @hw:   pointer to the HW structure\n- * @mem:  ptr to mem struct to fill out\n- * @size: size of memory requested\n- **/\n-int i40e_allocate_virt_mem_d(struct i40e_hw *hw, struct i40e_virt_mem *mem,\n-\t\t\t     u32 size)\n-{\n-\tmem->size = size;\n-\tmem->va = kzalloc(size, GFP_KERNEL);\n-\n-\tif (!mem->va)\n-\t\treturn -ENOMEM;\n-\n-\treturn 0;\n-}\n-\n-/**\n- * i40e_free_virt_mem_d - OS specific memory free for shared code\n- * @hw:   pointer to the HW structure\n- * @mem:  ptr to mem struct to free\n- **/\n-int i40e_free_virt_mem_d(struct i40e_hw *hw, struct i40e_virt_mem *mem)\n-{\n-\t/* it's ok to kfree a NULL pointer */\n-\tkfree(mem->va);\n-\tmem->va = NULL;\n-\tmem->size = 0;\n-\n-\treturn 0;\n-}\n-\n-/**\n  * i40e_get_lump - find a lump of free generic resource\n  * @pf: board private structure\n  * @pile: the pile of resource to search\ndiff --git a/drivers/net/ethernet/intel/i40evf/i40e_helper.h b/drivers/net/ethernet/intel/i40evf/i40e_helper.h\nnew file mode 100644\nindex 0000000..6e88a3b\n--- /dev/null\n+++ b/drivers/net/ethernet/intel/i40evf/i40e_helper.h\n@@ -0,0 +1,102 @@\n+/*******************************************************************************\n+ *\n+ * Intel Ethernet Controller XL710 Family Linux Driver\n+ * Copyright(c) 2013 - 2015 Intel Corporation.\n+ *\n+ * This program is free software; you can redistribute it and/or modify it\n+ * under the terms and conditions of the GNU General Public License,\n+ * version 2, as published by the Free Software Foundation.\n+ *\n+ * This program is distributed in the hope it will be useful, but WITHOUT\n+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\n+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for\n+ * more details.\n+ *\n+ * You should have received a copy of the GNU General Public License along\n+ * with this program.  If not, see <http://www.gnu.org/licenses/>.\n+ *\n+ * The full GNU General Public License is included in this distribution in\n+ * the file called \"COPYING\".\n+ *\n+ * Contact Information:\n+ * e1000-devel Mailing List <e1000-devel@lists.sourceforge.net>\n+ * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497\n+ *\n+ ******************************************************************************/\n+\n+#ifndef _I40E_HELPER_H_\n+#define _I40E_HELPER_H_\n+\n+/**\n+ * i40evf_allocate_dma_mem_d - OS specific memory alloc for shared code\n+ * @hw:   pointer to the HW structure\n+ * @mem:  ptr to mem struct to fill out\n+ * @size: size of memory requested\n+ * @alignment: what to align the allocation to\n+ **/\n+inline int i40evf_allocate_dma_mem_d(struct i40e_hw *hw,\n+\t\t\t\t     struct i40e_dma_mem *mem,\n+\t\t\t\t     u64 size, u32 alignment)\n+{\n+\tstruct i40evf_adapter *nf = (struct i40evf_adapter *)hw->back;\n+\n+\tmem->size = ALIGN(size, alignment);\n+\tmem->va = dma_zalloc_coherent(&nf->pdev->dev, mem->size,\n+\t\t\t\t      &mem->pa, GFP_KERNEL);\n+\tif (!mem->va)\n+\t\treturn -ENOMEM;\n+\n+\treturn 0;\n+}\n+\n+/**\n+ * i40evf_free_dma_mem_d - OS specific memory free for shared code\n+ * @hw:   pointer to the HW structure\n+ * @mem:  ptr to mem struct to free\n+ **/\n+inline int i40evf_free_dma_mem_d(struct i40e_hw *hw, struct i40e_dma_mem *mem)\n+{\n+\tstruct i40evf_adapter *nf = (struct i40evf_adapter *)hw->back;\n+\n+\tdma_free_coherent(&nf->pdev->dev, mem->size, mem->va, mem->pa);\n+\tmem->va = NULL;\n+\tmem->pa = 0;\n+\tmem->size = 0;\n+\n+\treturn 0;\n+}\n+\n+/**\n+ * i40evf_allocate_virt_mem_d - OS specific memory alloc for shared code\n+ * @hw:   pointer to the HW structure\n+ * @mem:  ptr to mem struct to fill out\n+ * @size: size of memory requested\n+ **/\n+inline int i40evf_allocate_virt_mem_d(struct i40e_hw *hw,\n+\t\t\t\t      struct i40e_virt_mem *mem,\n+\t\t\t\t      u32 size)\n+{\n+\tmem->size = size;\n+\tmem->va = kzalloc(size, GFP_KERNEL);\n+\n+\tif (!mem->va)\n+\t\treturn -ENOMEM;\n+\n+\treturn 0;\n+}\n+\n+/**\n+ * i40evf_free_virt_mem_d - OS specific memory free for shared code\n+ * @hw:   pointer to the HW structure\n+ * @mem:  ptr to mem struct to free\n+ **/\n+inline int i40evf_free_virt_mem_d(struct i40e_hw *hw, struct i40e_virt_mem *mem)\n+{\n+\t/* it's ok to kfree a NULL pointer */\n+\tkfree(mem->va);\n+\tmem->va = NULL;\n+\tmem->size = 0;\n+\n+\treturn 0;\n+}\n+#endif /* _I40E_HELPER_H_ */\ndiff --git a/drivers/net/ethernet/intel/i40evf/i40evf_main.c b/drivers/net/ethernet/intel/i40evf/i40evf_main.c\nindex c1d2469..fc9e7fa 100644\n--- a/drivers/net/ethernet/intel/i40evf/i40evf_main.c\n+++ b/drivers/net/ethernet/intel/i40evf/i40evf_main.c\n@@ -25,6 +25,7 @@\n  ******************************************************************************/\n \n #include \"i40evf.h\"\n+#include \"i40e_helper.h\"\n #include \"i40e_prototype.h\"\n static int i40evf_setup_all_tx_resources(struct i40evf_adapter *adapter);\n static int i40evf_setup_all_rx_resources(struct i40evf_adapter *adapter);\n@@ -62,85 +63,6 @@ MODULE_LICENSE(\"GPL\");\n MODULE_VERSION(DRV_VERSION);\n \n /**\n- * i40evf_allocate_dma_mem_d - OS specific memory alloc for shared code\n- * @hw:   pointer to the HW structure\n- * @mem:  ptr to mem struct to fill out\n- * @size: size of memory requested\n- * @alignment: what to align the allocation to\n- **/\n-i40e_status i40evf_allocate_dma_mem_d(struct i40e_hw *hw,\n-\t\t\t\t      struct i40e_dma_mem *mem,\n-\t\t\t\t      u64 size, u32 alignment)\n-{\n-\tstruct i40evf_adapter *adapter = (struct i40evf_adapter *)hw->back;\n-\n-\tif (!mem)\n-\t\treturn I40E_ERR_PARAM;\n-\n-\tmem->size = ALIGN(size, alignment);\n-\tmem->va = dma_alloc_coherent(&adapter->pdev->dev, mem->size,\n-\t\t\t\t     (dma_addr_t *)&mem->pa, GFP_KERNEL);\n-\tif (mem->va)\n-\t\treturn 0;\n-\telse\n-\t\treturn I40E_ERR_NO_MEMORY;\n-}\n-\n-/**\n- * i40evf_free_dma_mem_d - OS specific memory free for shared code\n- * @hw:   pointer to the HW structure\n- * @mem:  ptr to mem struct to free\n- **/\n-i40e_status i40evf_free_dma_mem_d(struct i40e_hw *hw, struct i40e_dma_mem *mem)\n-{\n-\tstruct i40evf_adapter *adapter = (struct i40evf_adapter *)hw->back;\n-\n-\tif (!mem || !mem->va)\n-\t\treturn I40E_ERR_PARAM;\n-\tdma_free_coherent(&adapter->pdev->dev, mem->size,\n-\t\t\t  mem->va, (dma_addr_t)mem->pa);\n-\treturn 0;\n-}\n-\n-/**\n- * i40evf_allocate_virt_mem_d - OS specific memory alloc for shared code\n- * @hw:   pointer to the HW structure\n- * @mem:  ptr to mem struct to fill out\n- * @size: size of memory requested\n- **/\n-i40e_status i40evf_allocate_virt_mem_d(struct i40e_hw *hw,\n-\t\t\t\t       struct i40e_virt_mem *mem, u32 size)\n-{\n-\tif (!mem)\n-\t\treturn I40E_ERR_PARAM;\n-\n-\tmem->size = size;\n-\tmem->va = kzalloc(size, GFP_KERNEL);\n-\n-\tif (mem->va)\n-\t\treturn 0;\n-\telse\n-\t\treturn I40E_ERR_NO_MEMORY;\n-}\n-\n-/**\n- * i40evf_free_virt_mem_d - OS specific memory free for shared code\n- * @hw:   pointer to the HW structure\n- * @mem:  ptr to mem struct to free\n- **/\n-i40e_status i40evf_free_virt_mem_d(struct i40e_hw *hw,\n-\t\t\t\t   struct i40e_virt_mem *mem)\n-{\n-\tif (!mem)\n-\t\treturn I40E_ERR_PARAM;\n-\n-\t/* it's ok to kfree a NULL pointer */\n-\tkfree(mem->va);\n-\n-\treturn 0;\n-}\n-\n-/**\n  * i40evf_debug_d - OS dependent version of debug printing\n  * @hw:  pointer to the HW structure\n  * @mask: debug level mask\n",
    "prefixes": [
        "next",
        "S8",
        "03/15"
    ]
}