mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-26 07:29:37 +07:00
RDMA/cxgb4: Don't expose DMA addresses
Change unconditional print of DMA address to be printed with special printk format type specifier. Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
This commit is contained in:
parent
34d568930b
commit
cae626b978
@ -1135,9 +1135,9 @@ struct ib_cq *c4iw_create_cq(struct ib_device *ibdev,
|
|||||||
mm2->len = PAGE_SIZE;
|
mm2->len = PAGE_SIZE;
|
||||||
insert_mmap(ucontext, mm2);
|
insert_mmap(ucontext, mm2);
|
||||||
}
|
}
|
||||||
pr_debug("cqid 0x%0x chp %p size %u memsize %zu, dma_addr 0x%0llx\n",
|
pr_debug("cqid 0x%0x chp %p size %u memsize %zu, dma_addr %pad\n",
|
||||||
chp->cq.cqid, chp, chp->cq.size,
|
chp->cq.cqid, chp, chp->cq.size, chp->cq.memsize,
|
||||||
chp->cq.memsize, (unsigned long long)chp->cq.dma_addr);
|
&chp->cq.dma_addr);
|
||||||
return &chp->ibcq;
|
return &chp->ibcq;
|
||||||
err_free_mm2:
|
err_free_mm2:
|
||||||
kfree(mm2);
|
kfree(mm2);
|
||||||
|
Loading…
Reference in New Issue
Block a user