Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 04274cd0 authored by Seung-Woo Kim's avatar Seung-Woo Kim Committed by Dave Airlie
Browse files

drm: fix print format of sequence in trace point



seq of a trace point is unsigned int but print format was %d. So
it fixes the format as %u.

Signed-off-by: default avatarSeung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent df9b6a9c
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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)
);