[PATCH 1/5 v2] drm/i915: use hlist_for_each_entry

2016-01-18 Thread Geliang Tang
Use hlist_for_each_entry() instead of hlist_for_each() to simplify the code. Signed-off-by: Geliang Tang --- Changes in v2: - Keep head = &eb->buckets[handle & eb->and] --- drivers/gpu/drm/i915/i915_gem_execbuffer.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/driv

[Intel-gfx] [PATCH 1/5 v2] drm/i915: use hlist_for_each_entry

2016-01-18 Thread Daniel Vetter
On Mon, Jan 18, 2016 at 11:54:20PM +0800, Geliang Tang wrote: > Use hlist_for_each_entry() instead of hlist_for_each() to simplify > the code. > > Signed-off-by: Geliang Tang > --- > Changes in v2: > - Keep head = &eb->buckets[handle & eb->and] Queued for -next, thanks for the patch. -Daniel >