diff options
author | Roland Dreier <rolandd@cisco.com> | 2006-09-27 14:42:56 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-09-27 14:42:56 -0700 |
commit | 6edf602341cd8f6e79479ff7f5bca72562c1f608 (patch) | |
tree | 4dd02ea1fb9d18355f89d4adc43bccc05d0ec64a /drivers/infiniband/hw/amso1100/c2_alloc.c | |
parent | cdb8355add9b1d87ecfcb58b12879897dc1e3e36 (diff) |
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.c | 2 |
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 1d2529992c0..028a60bbfca 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; |