aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorAlex Dewar <[email protected]>2020-08-06 18:56:15 +0000
committerMichael S. Tsirkin <[email protected]>2020-08-10 13:01:21 +0000
commit05acc4beb24c7e5ed3ae20a3d3ab2b29b40cb385 (patch)
tree2bbc1c3defa4f67ddcc1718e8c12ec69d7853863 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parentvdpa_sim: init iommu lock (diff)
downloadkernel-05acc4beb24c7e5ed3ae20a3d3ab2b29b40cb385.tar.gz
kernel-05acc4beb24c7e5ed3ae20a3d3ab2b29b40cb385.zip
vdpa/mlx5: Fix uninitialised variable in core/mr.c
If the kernel is unable to allocate memory for the variable dmr then err will be returned without being set. Set err to -ENOMEM in this case. Fixes: 94abbccdf291 ("vdpa/mlx5: Add shared memory registration code") Addresses-Coverity: ("Uninitialized variables") Signed-off-by: Alex Dewar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michael S. Tsirkin <[email protected]> Acked-by: Jason Wang <[email protected]> Acked-by: Eli Cohen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions