Re: [PATCH] drm/i915: Silence compiler warning for seltests/i915_gem_coherency

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

 



On 14 February 2017 at 14:35, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote:
> In general, the compiler should not be able to detect if we do any
> passes through the test loops:
>
>         In file included from drivers/gpu/drm/i915/i915_gem.c:5029:
>         drivers/gpu/drm/i915/selftests/i915_gem_coherency.c: In function 'igt_gem_coherency':
>         drivers/gpu/drm/i915/selftests/i915_gem_coherency.c:274: error: 'err' may be used uninitialized in this function
>
> Reported-by: kbuild test robot <fengguang.wu@xxxxxxxxx
> Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
Reviewed-by: Matthew Auld <matthew.auld@xxxxxxxxx>
_______________________________________________
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