mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
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>
This commit is contained in:
parent
292dce627b
commit
abc665aae3
2 changed files with 4 additions and 4 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue