aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
diff options
context:
space:
mode:
authorYueHaibing <[email protected]>2021-12-27 12:03:11 +0800
committerWei Liu <[email protected]>2022-01-05 12:26:27 +0000
commit0bd2fbee9d0b7f801a9c0264d90b1e0d8053f395 (patch)
tree5b2fe695a510f05384f8133a4ab04399ba9838c6 /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
parent2deb55d9f57bb7a877c0d77115cc4077e1e974ff (diff)
scsi: storvsc: Fix unsigned comparison to zero
The unsigned variable sg_count is being assigned a return value from the call to scsi_dma_map() that can return -ENOMEM. Signed-off-by: YueHaibing <[email protected]> Reviewed-by: Michael Kelley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Wei Liu <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
0 files changed, 0 insertions, 0 deletions