Re: [PATCH] scsi: qla2xxx: fix return of uninitialized value in rval

From: Martin K. Petersen
Date: Tue Oct 13 2020 - 18:43:34 EST


On Thu, 8 Oct 2020 19:32:39 +0100, Colin King wrote:

> A previous change removed the initialization of rval and there is
> now an error where an uninitialized rval is being returned on an
> error return path. Fix this by returning -ENODEV.

Applied to 5.10/scsi-queue, thanks!

[1/1] scsi: qla2xxx: Fix return of uninitialized value in rval
https://git.kernel.org/mkp/scsi/c/1ef16a407f54

--
Martin K. Petersen Oracle Linux Engineering