Re: [Intel-gfx] [bug report] drm/i915/ttm: add tt shmem backend

2021-11-18 Thread Dan Carpenter
On Thu, Nov 18, 2021 at 03:15:31PM +, Matthew Auld wrote: > On 18/11/2021 15:01, Dan Carpenter wrote: > > Hello Matthew Auld, > > > > The patch 7ae034590cea: "drm/i915/ttm: add tt shmem backend" from Oct > > 18, 2021, leads to the following Smatch static checker warning: > > > > drivers/g

Re: [Intel-gfx] [bug report] drm/i915/ttm: add tt shmem backend

2021-11-18 Thread Matthew Auld
On 18/11/2021 15:01, Dan Carpenter wrote: Hello Matthew Auld, The patch 7ae034590cea: "drm/i915/ttm: add tt shmem backend" from Oct 18, 2021, leads to the following Smatch static checker warning: drivers/gpu/drm/i915/gem/i915_gem_ttm.c:335 i915_ttm_eviction_valuable() warn: sign

[Intel-gfx] [bug report] drm/i915/ttm: add tt shmem backend

2021-11-18 Thread Dan Carpenter
Hello Matthew Auld, The patch 7ae034590cea: "drm/i915/ttm: add tt shmem backend" from Oct 18, 2021, leads to the following Smatch static checker warning: drivers/gpu/drm/i915/gem/i915_gem_ttm.c:335 i915_ttm_eviction_valuable() warn: signedness bug returning '(-16)' drivers/gpu/dr