YueHaibing 0bd2fbee9d 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>
2022-01-05 12:26:27 +00:00
..
2021-10-16 21:45:54 -04:00
2021-11-05 08:42:02 -07:00
2021-11-05 08:42:02 -07:00
2021-11-05 08:42:02 -07:00
2021-11-05 08:42:02 -07:00
2021-11-05 08:42:02 -07:00
2021-01-22 21:14:08 -05:00
2021-01-22 21:14:07 -05:00
2021-01-22 21:14:08 -05:00
2021-11-05 08:42:02 -07:00
2021-10-16 21:45:55 -04:00
2020-09-02 22:49:06 -04:00
2021-10-16 21:45:56 -04:00
2021-04-13 00:20:48 -04:00
2020-12-07 20:24:09 -05:00
2021-10-16 21:29:15 -04:00
2021-10-16 21:45:57 -04:00
2021-10-16 21:45:57 -04:00
2020-12-07 20:24:09 -05:00
2021-05-21 16:59:33 -04:00
2021-10-29 06:50:52 -06:00
2021-03-24 23:03:43 -04:00
2021-11-12 12:25:50 -08:00
2021-11-12 12:25:50 -08:00
2021-11-12 12:25:50 -08:00
2021-11-05 08:42:02 -07:00
2021-11-05 08:42:02 -07:00
2021-11-05 08:42:02 -07:00
2021-10-29 06:50:52 -06:00
2021-11-12 12:25:50 -08:00
2021-10-29 06:50:52 -06:00
2021-08-23 12:54:30 -06:00
2021-04-13 00:20:48 -04:00