[PATCH v2] drm: fix off-by-one in logger