drm/i915/error: use rb_entry()
authorGeliang Tang <geliangtang@gmail.com>
Fri, 20 Jan 2017 14:36:55 +0000 (22:36 +0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 23 Jan 2017 09:15:29 +0000 (09:15 +0000)
commite27414a04f1a571eeb0b214ebfc77e6dc9bb8a08
treeae4df12966b35c4c94acc40b9647bd88f512cfb9
parentec78828ed60a9833582cbb582248bd1b0200f50e
drm/i915/error: use rb_entry()

To make the code clearer, use rb_entry() instead of container_of() to
deal with rbtree.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/b08fd4be9d4c45d88c158a17b854c3fd628840ed.1484816339.git.geliangtang@gmail.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_gpu_error.c