diff options
| author | Laurent Pinchart <[email protected]> | 2015-12-14 20:39:38 +0000 |
|---|---|---|
| committer | Tomi Valkeinen <[email protected]> | 2015-12-31 09:25:45 +0000 |
| commit | 00e9c7c7002de36dd247745c825d4663c65e0a5b (patch) | |
| tree | 5486b896779976af928b741f3b57441ef6b28e37 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | drm: omapdrm: gem: Mask out private flags passed from userspace (diff) | |
| download | kernel-00e9c7c7002de36dd247745c825d4663c65e0a5b.tar.gz kernel-00e9c7c7002de36dd247745c825d4663c65e0a5b.zip | |
drm: omapdrm: gem: Free the correct memory object
The GEM object free handler frees memory allocated by the driver using
the pointer to the drm_gem_object instead of the pointer to the
omap_gem_object that embeds it. This doesn't cause any issue in practice
as the drm_gem_object is the first field of omap_gem_object, but would
cause memory corruption if the structure layout changes. Fix it.
Signed-off-by: Laurent Pinchart <[email protected]>
Signed-off-by: Tomi Valkeinen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
