aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
diff options
context:
space:
mode:
authorFelix Kuehling <[email protected]>2022-02-18 22:25:23 +0000
committerAlex Deucher <[email protected]>2022-02-22 19:40:44 +0000
commit22804e03f7a5ed35d86721d037bbf52fbfd0369f (patch)
treee02bb4f01e595df54f4172678d2110974b7eea8f /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
parentdrm/amdkfd: Drop IH ring overflow message to dbg (diff)
downloadkernel-22804e03f7a5ed35d86721d037bbf52fbfd0369f.tar.gz
kernel-22804e03f7a5ed35d86721d037bbf52fbfd0369f.zip
drm/amdkfd: Fix criu_restore_bo error handling
Clang static analysis reports this problem kfd_chardev.c:2327:2: warning: 1st function call argument is an uninitialized value kvfree(bo_privs); ^~~~~~~~~~~~~~~~ Make sure bo_buckets and bo_privs are initialized so freeing them in the error handling code path will never result in undefined behaviour. Fixes: 73fa13b6a511 ("drm/amdkfd: CRIU Implement KFD restore ioctl") Reported-by: Tom Rix <[email protected]> Signed-off-by: Felix Kuehling <[email protected]> Reviewed-by: Rajneesh Bhardwaj <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
0 files changed, 0 insertions, 0 deletions