diff options
author | YueHaibing <yuehaibing@huawei.com> | 2021-12-27 05:03:11 +0100 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2022-01-05 13:26:27 +0100 |
commit | 0bd2fbee9d0b7f801a9c0264d90b1e0d8053f395 (patch) | |
tree | 5b2fe695a510f05384f8133a4ab04399ba9838c6 /sound/Makefile | |
parent | swiotlb: Add CONFIG_HAS_IOMEM check around swiotlb_mem_remap() (diff) | |
download | linux-0bd2fbee9d0b7f801a9c0264d90b1e0d8053f395.tar.xz linux-0bd2fbee9d0b7f801a9c0264d90b1e0d8053f395.zip |
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 <yuehaibing@huawei.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/20211227040311.54584-1-yuehaibing@huawei.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'sound/Makefile')
0 files changed, 0 insertions, 0 deletions