diff options
author | 2018-05-17 16:28:24 +0100 | |
---|---|---|
committer | 2018-05-31 14:26:45 +0300 | |
commit | dd166fbd8d468eae7a6e8f7adab4dd1e22b1a780 (patch) | |
tree | 866ef961794acbf6bbe1d9af0a00b00275b9807d /lib/test_overflow.c | |
parent | drm: rcar-du: Fix build failure (diff) | |
download | linux-dev-dd166fbd8d468eae7a6e8f7adab4dd1e22b1a780.tar.xz linux-dev-dd166fbd8d468eae7a6e8f7adab4dd1e22b1a780.zip |
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 <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>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions