aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw
diff options
context:
space:
mode:
authorStefan Hasko <hasko.stevo@gmail.com>2012-12-21 21:29:21 -0500
committerRoland Dreier <roland@purestorage.com>2013-02-15 18:13:43 -0500
commitb23523d8585906c0fb7c78616e3deca18c7fcce2 (patch)
tree3d33ce07d4c3a8caf4669b89a9cbb365020db78c /drivers/infiniband/hw
parent710a31102be46ffc2f087119dca19c894dc237eb (diff)
RDMA/cxgb4: Fix cast warning
Fix compile warning about cast to pointer from integer of different size. Signed-off-by: Stefan Hasko <hasko.stevo@gmail.com> Acked-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw')
-rw-r--r--drivers/infiniband/hw/cxgb4/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/cxgb4/device.c b/drivers/infiniband/hw/cxgb4/device.c
index dc6adb213cd6..80069ad595c1 100644
--- a/drivers/infiniband/hw/cxgb4/device.c
+++ b/drivers/infiniband/hw/cxgb4/device.c
@@ -533,7 +533,7 @@ static int c4iw_rdev_open(struct c4iw_rdev *rdev)
533 PDBG("udb len 0x%x udb base %p db_reg %p gts_reg %p qpshift %lu " 533 PDBG("udb len 0x%x udb base %p db_reg %p gts_reg %p qpshift %lu "
534 "qpmask 0x%x cqshift %lu cqmask 0x%x\n", 534 "qpmask 0x%x cqshift %lu cqmask 0x%x\n",
535 (unsigned)pci_resource_len(rdev->lldi.pdev, 2), 535 (unsigned)pci_resource_len(rdev->lldi.pdev, 2),
536 (void *)pci_resource_start(rdev->lldi.pdev, 2), 536 (void *)(unsigned long)pci_resource_start(rdev->lldi.pdev, 2),
537 rdev->lldi.db_reg, 537 rdev->lldi.db_reg,
538 rdev->lldi.gts_reg, 538 rdev->lldi.gts_reg,
539 rdev->qpshift, rdev->qpmask, 539 rdev->qpshift, rdev->qpmask,