summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Palmer <daniel@0x0f.com>2025-10-18 08:44:50 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-10-28 16:46:22 +0300
commit16c0681617b8a045773d4d87b6140002fa75b03b (patch)
tree08f9613e20bccc11d16436b0f20bdb46004e804d /include
parentd0da43def215543d7b62a32af67e181619b3293a (diff)
downloadlinux-16c0681617b8a045773d4d87b6140002fa75b03b.tar.xz
drm/radeon: Do not kfree() devres managed rdev
Since the allocation of the drivers main structure was changed to devm_drm_dev_alloc() rdev is managed by devres and we shouldn't be calling kfree() on it. This fixes things exploding if the driver probe fails and devres cleans up the rdev after we already free'd it. Fixes: a9ed2f052c5c ("drm/radeon: change drm_dev_alloc to devm_drm_dev_alloc") Signed-off-by: Daniel Palmer <daniel@0x0f.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions