mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
drm/radeon: Do not kfree() devres managed rdev
[ Upstream commit3328443363] 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:a9ed2f052c("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> (cherry picked from commit16c0681617) Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
bbf734920b
commit
2413bbd1d6
1 changed files with 0 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue