Re: [PATCH] drm/i915/selftests: Catch error from mock_file()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 13, 2017 at 12:54:15PM +0000, Tvrtko Ursulin wrote:
> 
> On 13/03/2017 12:47, Chris Wilson wrote:
> >The patch 791ff39ae32a: "drm/i915: Live testing for context
> >execution" from Feb 13, 2017, leads to the following static checker
> >warning:
> >
> >        drivers/gpu/drm/i915/selftests/i915_gem_context.c:347 igt_ctx_exec()
> >        error: 'file' dereferencing possible ERR_PTR()
> >
> >Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> >Fixes: 791ff39ae32a ("drm/i915: Live testing for context execution")
> >Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
> >Cc: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>
> >Cc: Matthew Auld <matthew.auld@xxxxxxxxx>
> >Cc: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx>
> >Cc: Mika Kuoppala <mika.kuoppala@xxxxxxxxx>
> >Cc: <drm-intel-fixes@xxxxxxxxxxxxxxxxxxxxx>
> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx>

Pushed, thanks,
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux