aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
diff options
context:
space:
mode:
authorKeith Busch <[email protected]>2024-03-06 14:20:30 +0000
committerKeith Busch <[email protected]>2024-03-06 14:29:01 +0000
commit7e80eb792bd7377a20f204943ac31c77d859be89 (patch)
tree76be9f96652a818009cf268c97c068aa8351a8e3 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
parentnvme: host: fix double-free of struct nvme_id_ns in ns_update_nuse() (diff)
downloadkernel-7e80eb792bd7377a20f204943ac31c77d859be89.tar.gz
kernel-7e80eb792bd7377a20f204943ac31c77d859be89.zip
nvme: clear caller pointer on identify failure
The memory allocated for the identification is freed on failure. Set it to NULL so the caller doesn't have a pointer to that freed address. Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions