On la, 2017-01-14 at 10:51 +0000, Chris Wilson wrote: > drivers/gpu/drm/i915/i915_gpu_error.c: In function ‘i915_error_vprintf’: > drivers/gpu/drm/i915/i915_gpu_error.c:137:3: warning: > function might be possible candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] > len = vsnprintf(NULL, 0, f, tmp); > ^~~ > drivers/gpu/drm/i915/i915_gpu_error.c:144:2: warning: > function might be possible candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] > len = vsnprintf(e->buf + e->bytes, e->size - e->bytes, f, args); > ^~~ > > Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx> Regards, Joonas -- Joonas Lahtinen Open Source Technology Center Intel Corporation _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx