summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/amso1100/c2_alloc.c
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2006-09-28 01:42:56 +0400
committerRoland Dreier <rolandd@cisco.com>2006-09-28 01:42:56 +0400
commit6edf602341cd8f6e79479ff7f5bca72562c1f608 (patch)
tree4dd02ea1fb9d18355f89d4adc43bccc05d0ec64a /drivers/infiniband/hw/amso1100/c2_alloc.c
parentcdb8355add9b1d87ecfcb58b12879897dc1e3e36 (diff)
downloadlinux-6edf602341cd8f6e79479ff7f5bca72562c1f608.tar.xz
RDMA/amso1100: Fix compile warnings
Make sure all 64-bit quantities are cast to unsigned long long when printed with "%ll" printk formats. Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/amso1100/c2_alloc.c')
-rw-r--r--drivers/infiniband/hw/amso1100/c2_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/amso1100/c2_alloc.c b/drivers/infiniband/hw/amso1100/c2_alloc.c
index 1d2529992c0c..028a60bbfca9 100644
--- a/drivers/infiniband/hw/amso1100/c2_alloc.c
+++ b/drivers/infiniband/hw/amso1100/c2_alloc.c
@@ -115,7 +115,7 @@ u16 *c2_alloc_mqsp(struct c2_dev *c2dev, struct sp_chunk *head,
((unsigned long) &(head->shared_ptr[mqsp]) -
(unsigned long) head);
pr_debug("%s addr %p dma_addr %llx\n", __FUNCTION__,
- &(head->shared_ptr[mqsp]), (u64)*dma_addr);
+ &(head->shared_ptr[mqsp]), (unsigned long long) *dma_addr);
return &(head->shared_ptr[mqsp]);
}
return NULL;