[Intel-gfx] [PATCH] drm/i915: Unset mmap_offset on failure path.

Chris Wilson chris at chris-wilson.co.uk
Sat Jul 10 10:05:46 CEST 2010


On Sat, 10 Jul 2010 08:58:55 +0100, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> If we fail to correctly setup the mapping for an object, make sure that
> we nullify the pointer within the object after tearing down. Otherwise,
> we may later attempt to reuse the invalid pointer...

False alarm. It's guarded by mmap_offset.
-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list