IB/qib: add err_decode() call for ring dump
PATCH 1/1 IB/qib: add err_decode() call for ring dump
Commit b3ddf380 ("Log all SDMA errors unconditionally") missed part of the patch.
Signed-off-by Mike Marciniszyn <[email protected]>
--- drivers/infiniband/hw/qib/qib_iba7322.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/infiniband/hw/qib/qib_iba7322.c +2 -0
@@ -1596,6 +1596,8 @@ static void sdma_7322_p_errors(struct qib_pportdata *ppd, u64 errs)struct qib_devdata *dd = ppd->dd; errs &=QIB_E_P_SDMAERRS ; +err_decode (ppd->cpspec->sdmamsgbuf,sizeof (ppd->cpspec->sdmamsgbuf), + errs, qib_7322p_error_msgs);if (errs &QIB_E_P_SDMAUNEXPDATA ) qib_dev_err(dd, "IB%u:%u SDmaUnexpData\n", dd->unit,
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html