[PATCH] drm: Fix error handling in drm_mm eviction kselftest

2017-01-11 Thread Joonas Lahtinen
On ti, 2017-01-10 at 14:40 +, Chris Wilson wrote: >         drivers/gpu/drm/selftests/test-drm_mm.c:1277 > evict_everything() >         warn: calling list_del() inside list_for_each > > The list_del() inside the error handling in the eviction loop is > overkill. We have to und

[PATCH] drm: Fix error handling in drm_mm eviction kselftest

2017-01-11 Thread Daniel Vetter
On Wed, Jan 11, 2017 at 08:54:35AM +0200, Joonas Lahtinen wrote: > On ti, 2017-01-10 at 14:40 +, Chris Wilson wrote: > >         drivers/gpu/drm/selftests/test-drm_mm.c:1277 > > evict_everything() > >         warn: calling list_del() inside list_for_each > > > > The list_del()

[PATCH] drm: Fix error handling in drm_mm eviction kselftest

2017-01-10 Thread Chris Wilson
drivers/gpu/drm/selftests/test-drm_mm.c:1277 evict_everything() warn: calling list_del() inside list_for_each The list_del() inside the error handling in the eviction loop is overkill. We have to undo the eviction scan to return the drm_mm back to a recoverable state, so have to it