[Intel-gfx] [PATCH 2/4] drm/i915/bios: fix format string of the VBT signature logging

Chris Wilson chris at chris-wilson.co.uk
Wed Dec 16 06:23:35 PST 2015


On Wed, Dec 16, 2015 at 03:04:19PM +0200, Jani Nikula wrote:
> 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.
> 
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>

Wow that's a widely underused feature, only the test code exercises.

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list