drm: Avoid printing negative values for unsigned variables.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 3 Aug 2016 16:53:46 +0000 (09:53 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 8 Aug 2016 08:05:15 +0000 (10:05 +0200)
commit1d776851a6949abd85ba305514612fed16ff2459
tree0392b286673d9af48e966af740796302fdc8ee40
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
drm: Avoid printing negative values for unsigned variables.

It was really strange to see negative vblank seqs on debug
messages. It is rare to have that big number, but when it
happens it is confusing and misleading.

Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1470243226-2750-1-git-send-email-rodrigo.vivi@intel.com
drivers/gpu/drm/drm_irq.c