projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
710a311
)
RDMA/cxgb4: Fix cast warning
author
Stefan Hasko
<
[email protected]
>
Sat, 22 Dec 2012 02:29:21 +0000
(
02:29
+0000)
committer
Roland Dreier
<
[email protected]
>
Fri, 15 Feb 2013 23:13:43 +0000
(15:13 -0800)
Fix compile warning about cast to pointer from integer of different size.
Signed-off-by: Stefan Hasko <
[email protected]
>
Acked-by: Steve Wise <
[email protected]
>
Signed-off-by: Roland Dreier <
[email protected]
>
drivers/infiniband/hw/cxgb4/device.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/cxgb4/device.c
b/drivers/infiniband/hw/cxgb4/device.c
index dc6adb213cd66cd98189bd201d59698ebc4c2c55..80069ad595c143093a3ff68d471fa1c33edba20e 100644
(file)
--- 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)
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,