Re: [PATCH] drm/ttm: fix missing NULL check in the new page pool

2020-11-09 Thread Martin Peres
On 09/11/2020 17:54, Alex Deucher wrote: On Fri, Nov 6, 2020 at 9:10 AM Christian König wrote: The pool parameter can be NULL if we free through the shrinker. Signed-off-by: Christian König Does this fix: https://gitlab.freedesktop.org/drm/amd/-/issues/1362 It does! So you can add my: T

Re: [PATCH] drm/ttm: fix missing NULL check in the new page pool

2020-11-09 Thread Alex Deucher
On Fri, Nov 6, 2020 at 9:10 AM Christian König wrote: > > The pool parameter can be NULL if we free through the shrinker. > > Signed-off-by: Christian König Does this fix: https://gitlab.freedesktop.org/drm/amd/-/issues/1362 Acked-by: Alex Deucher > --- > drivers/gpu/drm/ttm/ttm_pool.c | 2

[PATCH] drm/ttm: fix missing NULL check in the new page pool

2020-11-06 Thread Christian König
The pool parameter can be NULL if we free through the shrinker. Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_pool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/ttm/ttm_pool.c b/drivers/gpu/drm/ttm/ttm_pool.c index 44ec41aa78d6..1b96780b4989 1