drm/i915: Nul-terminate legacy debug string
authorChris Wilson <[email protected]>
Thu, 17 May 2018 15:28:24 +0000 (16:28 +0100)
committerJani Nikula <[email protected]>
Thu, 31 May 2018 11:26:45 +0000 (14:26 +0300)
commitdd166fbd8d468eae7a6e8f7adab4dd1e22b1a780
tree866ef961794acbf6bbe1d9af0a00b00275b9807d
parent315852b422972e6ebb1dfddaadada09e46a2681a
drm/i915: Nul-terminate legacy debug string

Make sure that when we don't have any scheduler attributes for the
request, the string is terminated.

Fixes: 247870ac8ea7 ("drm/i915: Build request info on stack before printk")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 96d4f03c20d04c80026b1ec3643c090cf4f0eb20)
Signed-off-by: Jani Nikula <[email protected]>
drivers/gpu/drm/i915/intel_engine_cs.c