Includes hcp_epas_dtor in eq/cq/qp destructors to unmapHW register. Signed-off-by: Jan-Bernd Themann <themann@xxxxxxxxxx>--- drivers/net/ehea/ehea_qmr c | 6 ++++++ 1 files changed. 6 insertions(+). 0 deletions(-)diff --git a/drivers/net/ehea/ehea_qmr c b/drivers/net/ehea/ehea_qmr cindex a36fa6c. c82e245 100644--- a/drivers/net/ehea/ehea_qmr c+++ b/drivers/net/ehea/ehea_qmr c@@ -235,6 +235,8 @@ int ehea_undo_cq(struct ehea_cq *cq) if (!cq) go 0; +hcp_epas_dtor(&cq->epas);+ if ((hret = ehea_undo_cq_res(cq. NORMAL_FREE)) == H_R_STATE) { ehea_error_data(cq->adapter cq->fw_handle); hret = ehea_undo_cq_res(cq. compel_FREE);@@ -361,6 +363,8 @@ int ehea_destroy_eq(struct ehea_eq *eq) if (!eq) go 0; +hcp_epas_dtor(&eq->epas);+ if ((hret = ehea_destroy_eq_res(eq. NORMAL_FREE)) == H_R_STATE) { ehea_error_data(eq->adapter eq->fw_handle); hret = ehea_undo_eq_res(eq. compel_FREE);@@ -541,6 +545,8 @@ int ehea_destroy_qp(struct ehea_qp *qp) if (!qp) go 0; +hcp_epas_dtor(&qp->epas);+ if ((hret = ehea_undo_qp_res(qp. NORMAL_FREE)) == H_R_express) { ehea_error_data(qp->adapter qp->fw_handle); hret = ehea_destroy_qp_res(qp. FORCE_remove);-- 1.5.2-To unsubscribe from this list: send the lie "unsubscribe linux-kernel" inthe be of a communicate to majordomo@xxxxxxxxxxxxxxxMore majordomo info at gratify read the FAQ at
Forex Groups - Tips on Trading
Related article:
http://linux.derkeiler.com/Mailing-Lists/Kernel/2007-08/msg09631.html
comments | Add comment | Report as Spam
|