diff options
author | Jani Nikula <jani.nikula@intel.com> | 2015-12-16 16:04:19 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2015-12-16 19:01:32 +0300 |
commit | 3556dd408232e1d0dea7e24eea217a3d1185bfc0 (patch) | |
tree | d2b10d7ac312cddfa377eaefff414903e9f78aff /virt | |
parent | e23ceb83e8b5aeabb5bc54ee33a54fad70c397e3 (diff) | |
download | linux-3556dd408232e1d0dea7e24eea217a3d1185bfc0.tar.xz |
drm/i915/bios: fix format string of the VBT signature logging
Specify the maximum number of letters to print from the potentially
unterminated buffer, not the minimum. While at it, use sizeof instead of
a magic number.
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1450271061-32646-2-git-send-email-jani.nikula@intel.com
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions