* [PATCH 2/2] drivers: infiniband: hw: cxgb4: fix cast warning
@ 2012-12-22 2:29 Stefan Hasko
[not found] ` <1356143361-31783-1-git-send-email-hasko.stevo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Hasko @ 2012-12-22 2:29 UTC (permalink / raw)
To: Steve Wise, linux-rdma
Cc: Roland Dreier, Sean Hefty, Hal Rosenstock, linux-kernel,
Stefan Hasko
Fixed compile warning cast to pointer from integer of different size
Signed-off-by: Stefan Hasko <hasko.stevo@gmail.com>
---
drivers/infiniband/hw/cxgb4/device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/infiniband/hw/cxgb4/device.c b/drivers/infiniband/hw/cxgb4/device.c
index cb4ecd7..314ec4a 100644
--- a/drivers/infiniband/hw/cxgb4/device.c
+++ b/drivers/infiniband/hw/cxgb4/device.c
@@ -413,7 +413,7 @@ static int c4iw_rdev_open(struct c4iw_rdev *rdev)
PDBG("udb len 0x%x udb base %p db_reg %p gts_reg %p qpshift %lu "
"qpmask 0x%x cqshift %lu cqmask 0x%x\n",
(unsigned)pci_resource_len(rdev->lldi.pdev, 2),
- (void *)pci_resource_start(rdev->lldi.pdev, 2),
+ (void *)(unsigned long)pci_resource_start(rdev->lldi.pdev, 2),
rdev->lldi.db_reg,
rdev->lldi.gts_reg,
rdev->qpshift, rdev->qpmask,
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-12-22 3:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-22 2:29 [PATCH 2/2] drivers: infiniband: hw: cxgb4: fix cast warning Stefan Hasko
[not found] ` <1356143361-31783-1-git-send-email-hasko.stevo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-12-22 3:31 ` Steve Wise
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).