mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-14 05:12:17 +00:00
IB/cxgb4: Fix formatting of physical address
Physical addresses may be wider than virtual addresses (e.g. on i386 with PAE) and must not be formatted with %p. Compile-tested only. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Roland Dreier <roland@purestorage.com>
This commit is contained in:
parent
959f58544b
commit
649fb5ec0e
@ -602,10 +602,10 @@ static int c4iw_rdev_open(struct c4iw_rdev *rdev)
|
|||||||
rdev->lldi.vr->qp.size,
|
rdev->lldi.vr->qp.size,
|
||||||
rdev->lldi.vr->cq.start,
|
rdev->lldi.vr->cq.start,
|
||||||
rdev->lldi.vr->cq.size);
|
rdev->lldi.vr->cq.size);
|
||||||
PDBG("udb len 0x%x udb base %p db_reg %p gts_reg %p qpshift %lu "
|
PDBG("udb len 0x%x udb base %llx db_reg %p gts_reg %p qpshift %lu "
|
||||||
"qpmask 0x%x cqshift %lu cqmask 0x%x\n",
|
"qpmask 0x%x cqshift %lu cqmask 0x%x\n",
|
||||||
(unsigned)pci_resource_len(rdev->lldi.pdev, 2),
|
(unsigned)pci_resource_len(rdev->lldi.pdev, 2),
|
||||||
(void *)(unsigned long)pci_resource_start(rdev->lldi.pdev, 2),
|
(u64)pci_resource_start(rdev->lldi.pdev, 2),
|
||||||
rdev->lldi.db_reg,
|
rdev->lldi.db_reg,
|
||||||
rdev->lldi.gts_reg,
|
rdev->lldi.gts_reg,
|
||||||
rdev->qpshift, rdev->qpmask,
|
rdev->qpshift, rdev->qpmask,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user