diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2009-01-16 14:55:28 -0800 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2009-01-16 14:55:28 -0800 |
commit | 3750f60557b68776eb749859ad68af70d1a01ad0 (patch) | |
tree | 13b968eafa143fccc13dbdeb40105d6d6a42ca5e /drivers/infiniband/hw/ehca/ehca_reqs.c | |
parent | e0b325d310a6b11f1538413fd557d2eb98f2fae5 (diff) | |
download | kernel_samsung_smdk4412-3750f60557b68776eb749859ad68af70d1a01ad0.zip kernel_samsung_smdk4412-3750f60557b68776eb749859ad68af70d1a01ad0.tar.gz kernel_samsung_smdk4412-3750f60557b68776eb749859ad68af70d1a01ad0.tar.bz2 |
IB/ehca: Fix printk format warnings from u64 type change
Commit fe333321 ("powerpc: Change u64/s64 to a long long integer
type") changed u64 from unsigned long to unsigned long long, which
means that printk formats for printing u64 values should use "ll"
instead of "l" to avoid warnings. Fix all the places affected by this
in ehca.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ehca/ehca_reqs.c')
-rw-r--r-- | drivers/infiniband/hw/ehca/ehca_reqs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ehca/ehca_reqs.c b/drivers/infiniband/hw/ehca/ehca_reqs.c index c711268..5a3d96f 100644 --- a/drivers/infiniband/hw/ehca/ehca_reqs.c +++ b/drivers/infiniband/hw/ehca/ehca_reqs.c @@ -822,7 +822,7 @@ static int generate_flush_cqes(struct ehca_qp *my_qp, struct ib_cq *cq, offset = qmap->next_wqe_idx * ipz_queue->qe_size; wqe = (struct ehca_wqe *)ipz_qeit_calc(ipz_queue, offset); if (!wqe) { - ehca_err(cq->device, "Invalid wqe offset=%#lx on " + ehca_err(cq->device, "Invalid wqe offset=%#llx on " "qp_num=%#x", offset, my_qp->real_qp_num); return nr; } |