On 22 May 2017 at 13:21, Chris Wilson <[email protected]> wrote: > The compiler doesn't always spot the guard that object is allocated on > the first pass, leading to: > > drivers/gpu/drm/i915/selftests/i915_gem_context.c: warning: 'obj' may be used > uninitialized in this function [-Wuninitialized]: => 370:8 > > Reported-by: Geert Uytterhoeven <[email protected]> > Fixes: 791ff39ae32a ("drm/i915: Live testing for context execution") > Signed-off-by: Chris Wilson <[email protected]> > Cc: Joonas Lahtinen <[email protected]> > Cc: Tvrtko Ursulin <[email protected]> > Cc: Matthew Auld <[email protected]> > c: <[email protected]> # v4.12-rc1+ Cc: <[email protected]> # v4.12-rc1+
Reviewed-by: Matthew Auld <[email protected]> _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
