drm/i915: Avoid format string expansion from engine names
authorKees Cook <keescook@chromium.org>
Tue, 11 Apr 2017 04:56:30 +0000 (21:56 -0700)
committerJani Nikula <jani.nikula@intel.com>
Wed, 19 Apr 2017 12:49:27 +0000 (15:49 +0300)
commit916a491d11a866218ad92ff4f3124baa97d68ba0
tree761f33559752b26306b0da058c2ac174ea082e3e
parent939cf46c3a32c969392c66a6218593a38e1c7bf1
drm/i915: Avoid format string expansion from engine names

While highly unlikely, this makes sure that the string built from
engine names won't be processed as a format string.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170411045630.GA6612@beast
drivers/gpu/drm/i915/intel_hangcheck.c