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_hca.c | |
parent | e0b325d310a6b11f1538413fd557d2eb98f2fae5 (diff) | |
download | blackbird-op-linux-3750f60557b68776eb749859ad68af70d1a01ad0.tar.gz blackbird-op-linux-3750f60557b68776eb749859ad68af70d1a01ad0.zip |
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_hca.c')
-rw-r--r-- | drivers/infiniband/hw/ehca/ehca_hca.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ehca/ehca_hca.c b/drivers/infiniband/hw/ehca/ehca_hca.c index 46288220cfbb..9209c5332dfe 100644 --- a/drivers/infiniband/hw/ehca/ehca_hca.c +++ b/drivers/infiniband/hw/ehca/ehca_hca.c @@ -393,7 +393,7 @@ int ehca_modify_port(struct ib_device *ibdev, hret = hipz_h_modify_port(shca->ipz_hca_handle, port, cap, props->init_type, port_modify_mask); if (hret != H_SUCCESS) { - ehca_err(&shca->ib_device, "Modify port failed h_ret=%li", + ehca_err(&shca->ib_device, "Modify port failed h_ret=%lli", hret); ret = -EINVAL; } |