aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c
diff options
context:
space:
mode:
authorGrazvydas Ignotas <[email protected]>2016-09-25 20:34:46 +0000
committerAlex Deucher <[email protected]>2016-09-27 17:00:51 +0000
commit54ddf3a6af537cbfe038f9a2754f26de80c5818b (patch)
tree69c4821436f125ff09faff6f71873c913c3d33ba /drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c
parentdrm/amdgpu: clear ring pointer in amdgpu_device on teardown (diff)
downloadkernel-54ddf3a6af537cbfe038f9a2754f26de80c5818b.tar.gz
kernel-54ddf3a6af537cbfe038f9a2754f26de80c5818b.zip
drm/amdgpu: don't leave dangling pointers around
Right now it's possible to trigger fence_drv.fences[] dereference after the array has been freed. While the real problem is elsewhere, this still results in confusing errors that depend on how the freed memory was reused (I've seen "kernel tried to execute NX-protected page"), it's better to clear them and get NULL dereference so that it's obvious what's going wrong. Signed-off-by: Grazvydas Ignotas <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c')
0 files changed, 0 insertions, 0 deletions