OSDN Git Service

drm/i915: Fix typo from e5281ccd in i915_gem_attach_phys_object()
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 30 Oct 2010 21:52:31 +0000 (22:52 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 30 Oct 2010 21:52:31 +0000 (22:52 +0100)
commitff75b9bc489710ff223bc0d805bf3b862dc347ea
treed0fc6f9e07a9bc65c70c03849f345799604ee8b9
parentadd354ddf62beac55ca3ba64835dd703a0649867
drm/i915: Fix typo from e5281ccd in i915_gem_attach_phys_object()

Accessing the uninitialised obj->pages instead of the local page lead to
an OOPs.

Reported-by: Xavier Chantry <chantry.xavier@gmail.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_gem.c