]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Pair va_copy with va_end in i915_error_vprintf
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Fri, 7 Feb 2014 15:40:50 +0000 (17:40 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 11 Feb 2014 10:53:15 +0000 (11:53 +0100)
commitc4b7b9845446dafcedac17d567d51950af8ad657
tree991e4c2cf5fc4d72bd0d3bd052870b0b9ca7e3c2
parent968920ad6c638a33d7cf018f5134c6e38a239859
drm/i915: Pair va_copy with va_end in i915_error_vprintf

Each invocation of va_copy() must be matched by a corresponding
invocation of va_end() in the same function.

This regression has been introduced in

commit 41e685020c8d448fb4e79e5b53dfcd6b3a9be7b8
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Sep 20 10:20:59 2013 +0100

    drm/i915: Use a temporary va_list for two-pass string handling

Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: stable@vger.kernel.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gpu_error.c