drm: fix print format of sequence in trace point
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 1 Jul 2013 10:44:14 +0000 (19:44 +0900)
committerDave Airlie <airlied@redhat.com>
Thu, 4 Jul 2013 00:55:27 +0000 (10:55 +1000)
seq of a trace point is unsigned int but print format was %d. So
it fixes the format as %u.

Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_trace.h

index 03ea964aa6040de314c0a84c1beba08aa4650d67..27cc95f363812516d4c2247b1253edbe19188938 100644 (file)
@@ -21,7 +21,7 @@ TRACE_EVENT(drm_vblank_event,
                    __entry->crtc = crtc;
                    __entry->seq = seq;
                    ),
-           TP_printk("crtc=%d, seq=%d", __entry->crtc, __entry->seq)
+           TP_printk("crtc=%d, seq=%u", __entry->crtc, __entry->seq)
 );
 
 TRACE_EVENT(drm_vblank_event_queued,
@@ -37,7 +37,7 @@ TRACE_EVENT(drm_vblank_event_queued,
                    __entry->crtc = crtc;
                    __entry->seq = seq;
                    ),
-           TP_printk("pid=%d, crtc=%d, seq=%d", __entry->pid, __entry->crtc, \
+           TP_printk("pid=%d, crtc=%d, seq=%u", __entry->pid, __entry->crtc, \
                      __entry->seq)
 );
 
@@ -54,7 +54,7 @@ TRACE_EVENT(drm_vblank_event_delivered,
                    __entry->crtc = crtc;
                    __entry->seq = seq;
                    ),
-           TP_printk("pid=%d, crtc=%d, seq=%d", __entry->pid, __entry->crtc, \
+           TP_printk("pid=%d, crtc=%d, seq=%u", __entry->pid, __entry->crtc, \
                      __entry->seq)
 );