aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorWenchao Hao <[email protected]>2022-04-01 01:10:19 +0000
committerMartin K. Petersen <[email protected]>2022-04-07 02:37:49 +0000
commit03252259e18e63eb56a0d29c2fefcc30b58b812b (patch)
treec650f31b845a335e942630b1e121a7971e352837 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentscsi: message: fusion: Remove redundant variable dmp (diff)
downloadkernel-03252259e18e63eb56a0d29c2fefcc30b58b812b.tar.gz
kernel-03252259e18e63eb56a0d29c2fefcc30b58b812b.zip
scsi: sd: Clean up gendisk if device_add_disk() failed
We forgot to call blk_cleanup_disk() when device_add_disk() failed. This would cause a memory leak of gendisk and sched_tags allocated in elevator_init_mq() Reference:https://syzkaller.appspot.com/x/log.txt?x=13b41dcb700000 Reported-and-tested-by: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Wenchao Hao <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions