diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2016-04-29 14:57:23 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2016-05-11 21:19:10 +1000 |
commit | ade3ac660a1813344bcf4fe58b9ac5fbe7c0ed4b (patch) | |
tree | d0ced8f693cf1fe63772ce0589a2bebe92654ba9 /arch/powerpc/kvm | |
parent | 11dd6ac0254ed9a2b6994e22c903192edd0fa8fc (diff) | |
download | blackbird-op-linux-ade3ac660a1813344bcf4fe58b9ac5fbe7c0ed4b.tar.gz blackbird-op-linux-ade3ac660a1813344bcf4fe58b9ac5fbe7c0ed4b.zip |
KVM: PPC: Fix debug macros
When XICS_DBG is enabled, gcc produces format errors. This fixes
formats to match passed values types.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kvm')
-rw-r--r-- | arch/powerpc/kvm/book3s_xics.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kvm/book3s_xics.c b/arch/powerpc/kvm/book3s_xics.c index 46871d554057..95896d7543b4 100644 --- a/arch/powerpc/kvm/book3s_xics.c +++ b/arch/powerpc/kvm/book3s_xics.c @@ -280,7 +280,7 @@ static inline bool icp_try_update(struct kvmppc_icp *icp, if (!success) goto bail; - XICS_DBG("UPD [%04x] - C:%02x M:%02x PP: %02x PI:%06x R:%d O:%d\n", + XICS_DBG("UPD [%04lx] - C:%02x M:%02x PP: %02x PI:%06x R:%d O:%d\n", icp->server_num, old.cppr, old.mfrr, old.pending_pri, old.xisr, old.need_resend, old.out_ee); @@ -336,7 +336,7 @@ static bool icp_try_to_deliver(struct kvmppc_icp *icp, u32 irq, u8 priority, union kvmppc_icp_state old_state, new_state; bool success; - XICS_DBG("try deliver %#x(P:%#x) to server %#x\n", irq, priority, + XICS_DBG("try deliver %#x(P:%#x) to server %#lx\n", irq, priority, icp->server_num); do { |