summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic/qed/qed_mcp.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-05-21 12:56:57 -0400
committerDavid S. Miller <davem@davemloft.net>2017-05-21 12:56:57 -0400
commit76e7f31d3f6d48dd4166e5df7f154280323bcb11 (patch)
tree7c2cd7b5e1b7b2aaf172ea12231dce55b63ed02b /drivers/net/ethernet/qlogic/qed/qed_mcp.c
parentdc57ae3d938f67ea8960e9cf541c93bc0a143148 (diff)
parent9ac4c546ef109ff633c3d56acdc3c501a6e0f7a1 (diff)
downloadlinux-76e7f31d3f6d48dd4166e5df7f154280323bcb11.tar.bz2
Merge branch 'qed-next'
Yuval Mintz says: ==================== qed/qede updates This series contains some general minor fixes and enhancements: - #1, #2 and #9 correct small missing ethtool functionality. - #3, #6 and #8 correct minor issues in driver, but those are either print-related or unexposed in existing code. - #4 adds proper support to TLB mode bonding. - #10 is meant to improve performance on varying cache-line sizes. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed_mcp.c')
-rw-r--r--drivers/net/ethernet/qlogic/qed/qed_mcp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qlogic/qed/qed_mcp.c b/drivers/net/ethernet/qlogic/qed/qed_mcp.c
index 7266b36a2655..b32e8190f3fb 100644
--- a/drivers/net/ethernet/qlogic/qed/qed_mcp.c
+++ b/drivers/net/ethernet/qlogic/qed/qed_mcp.c
@@ -177,6 +177,7 @@ int qed_mcp_free(struct qed_hwfn *p_hwfn)
}
kfree(p_hwfn->mcp_info);
+ p_hwfn->mcp_info = NULL;
return 0;
}