]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Nul-terminate legacy debug string
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 17 May 2018 15:28:24 +0000 (16:28 +0100)
committerJani Nikula <jani.nikula@intel.com>
Thu, 31 May 2018 11:26:45 +0000 (14:26 +0300)
commit3d7958519fdfa4679372b5ee963608125fe2ca3e
tree866ef961794acbf6bbe1d9af0a00b00275b9807d
parent9f57734eda45d6fe9b56619f55bac0aab0e8e2c0
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: 551e8cef7a3f ("drm/i915: Build request info on stack before printk")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180517152824.11619-1-chris@chris-wilson.co.uk
(cherry picked from commit 96d4f03c20d04c80026b1ec3643c090cf4f0eb20)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_engine_cs.c