From: Mika Kuoppala Date: Tue, 4 Dec 2012 13:12:01 +0000 (+0200) Subject: drm/i915: Fix debugfs seqno info print to use uint X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=43a7b924a920729ff775e6a847f671d0ea456801;p=linux-beck.git drm/i915: Fix debugfs seqno info print to use uint seqno's are u32 so print accordingly Signed-off-by: Mika Kuoppala Reviewed-by: Chris Wilson Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index 602058fb5e25..7e516eebdc80 100644 --- a/drivers/gpu/drm/i915/i915_debugfs.c +++ b/drivers/gpu/drm/i915/i915_debugfs.c @@ -389,7 +389,7 @@ static void i915_ring_seqno_info(struct seq_file *m, struct intel_ring_buffer *ring) { if (ring->get_seqno) { - seq_printf(m, "Current sequence (%s): %d\n", + seq_printf(m, "Current sequence (%s): %u\n", ring->name, ring->get_seqno(ring, false)); } }