Re: [PATCH v2 -next] scsi: storvsc: Fix unsigned comparison to zero

From: Martin K. Petersen
Date: Wed Jan 05 2022 - 00:42:15 EST



YueHaibing,

> The unsigned variable sg_count is being assigned a return value
> from the call to scsi_dma_map() that can return -ENOMEM.
>
> Fixes: 743b237c3a7b ("scsi: storvsc: Add Isolation VM support for
> storvsc driver")

This should probably go through the Hyper-V tree - I presume that's
where the offending commit is sitting?

Otherwise I can take this after -rc1 is out.

--
Martin K. Petersen Oracle Linux Engineering