summaryrefslogtreecommitdiffstats
path: root/hw/rdma/rdma_rm.c
diff options
context:
space:
mode:
authorYuval Shaia2018-08-05 17:35:16 +0200
committerMarcel Apfelbaum2018-08-18 17:00:48 +0200
commitabc665aae30a6fa3b6bb6784b535ab656461abd3 (patch)
treeb8d7beb90083a1d6c3dbb3e35ee0b766c3c8efc4 /hw/rdma/rdma_rm.c
parenthw/rdma: Cosmetic change - move to generic function (diff)
downloadqemu-abc665aae30a6fa3b6bb6784b535ab656461abd3.tar.gz
qemu-abc665aae30a6fa3b6bb6784b535ab656461abd3.tar.xz
qemu-abc665aae30a6fa3b6bb6784b535ab656461abd3.zip
hw/rdma: Print backend QP number in hex format
To be consistent with other prints throughout the code fix places that print it as decimal number. Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com> Reviewed-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com> Message-Id: <20180805153518.2983-12-yuval.shaia@oracle.com> Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Diffstat (limited to 'hw/rdma/rdma_rm.c')
-rw-r--r--hw/rdma/rdma_rm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/rdma/rdma_rm.c b/hw/rdma/rdma_rm.c
index 1f014b4ab2..859c900003 100644
--- a/hw/rdma/rdma_rm.c
+++ b/hw/rdma/rdma_rm.c
@@ -389,7 +389,7 @@ int rdma_rm_modify_qp(RdmaDeviceResources *dev_res, RdmaBackendDev *backend_dev,
RdmaRmQP *qp;
int ret;
- pr_dbg("qpn=%d\n", qp_handle);
+ pr_dbg("qpn=0x%x\n", qp_handle);
qp = rdma_rm_get_qp(dev_res, qp_handle);
if (!qp) {
@@ -447,7 +447,7 @@ int rdma_rm_query_qp(RdmaDeviceResources *dev_res, RdmaBackendDev *backend_dev,
{
RdmaRmQP *qp;
- pr_dbg("qpn=%d\n", qp_handle);
+ pr_dbg("qpn=0x%x\n", qp_handle);
qp = rdma_rm_get_qp(dev_res, qp_handle);
if (!qp) {