Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: 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>

authored by

Seung-Woo Kim and committed by
Dave Airlie
04274cd0 df9b6a9c

+3 -3
+3 -3
drivers/gpu/drm/drm_trace.h
··· 21 21 __entry->crtc = crtc; 22 22 __entry->seq = seq; 23 23 ), 24 - TP_printk("crtc=%d, seq=%d", __entry->crtc, __entry->seq) 24 + TP_printk("crtc=%d, seq=%u", __entry->crtc, __entry->seq) 25 25 ); 26 26 27 27 TRACE_EVENT(drm_vblank_event_queued, ··· 37 37 __entry->crtc = crtc; 38 38 __entry->seq = seq; 39 39 ), 40 - TP_printk("pid=%d, crtc=%d, seq=%d", __entry->pid, __entry->crtc, \ 40 + TP_printk("pid=%d, crtc=%d, seq=%u", __entry->pid, __entry->crtc, \ 41 41 __entry->seq) 42 42 ); 43 43 ··· 54 54 __entry->crtc = crtc; 55 55 __entry->seq = seq; 56 56 ), 57 - TP_printk("pid=%d, crtc=%d, seq=%d", __entry->pid, __entry->crtc, \ 57 + TP_printk("pid=%d, crtc=%d, seq=%u", __entry->pid, __entry->crtc, \ 58 58 __entry->seq) 59 59 ); 60 60