summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/amso1100/c2_ae.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_ae.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_ae.c')
-rw-r--r--drivers/infiniband/hw/amso1100/c2_ae.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/amso1100/c2_ae.c b/drivers/infiniband/hw/amso1100/c2_ae.c
index 08f46c83a3a4..3aae4978e1cb 100644
--- a/drivers/infiniband/hw/amso1100/c2_ae.c
+++ b/drivers/infiniband/hw/amso1100/c2_ae.c
@@ -197,7 +197,7 @@ void c2_ae_event(struct c2_dev *c2dev, u32 mq_index)
"resource=%x, qp_state=%s\n",
__FUNCTION__,
to_event_str(event_id),
- be64_to_cpu(wr->ae.ae_generic.user_context),
+ (unsigned long long) be64_to_cpu(wr->ae.ae_generic.user_context),
be32_to_cpu(wr->ae.ae_generic.resource_type),
be32_to_cpu(wr->ae.ae_generic.resource),
to_qp_state_str(be32_to_cpu(wr->ae.ae_generic.qp_state)));