]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/infiniband/hw/ehca/ehca_mcast.c
IB/ehca: Print return codes as signed decimal integers
[linux-2.6-omap-h63xx.git] / drivers / infiniband / hw / ehca / ehca_mcast.c
index 32a870660bfe7901aaee0fa1b32fe1ebacd08666..e3ef0264ccc6c4aa91890d86149a70b6db87c2b6 100644 (file)
@@ -88,7 +88,7 @@ int ehca_attach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid)
        if (h_ret != H_SUCCESS)
                ehca_err(ibqp->device,
                         "ehca_qp=%p qp_num=%x hipz_h_attach_mcqp() failed "
-                        "h_ret=%lx", my_qp, ibqp->qp_num, h_ret);
+                        "h_ret=%li", my_qp, ibqp->qp_num, h_ret);
 
        return ehca2ib_return_code(h_ret);
 }
@@ -125,7 +125,7 @@ int ehca_detach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid)
        if (h_ret != H_SUCCESS)
                ehca_err(ibqp->device,
                         "ehca_qp=%p qp_num=%x hipz_h_detach_mcqp() failed "
-                        "h_ret=%lx", my_qp, ibqp->qp_num, h_ret);
+                        "h_ret=%li", my_qp, ibqp->qp_num, h_ret);
 
        return ehca2ib_return_code(h_ret);
 }