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

From: Martin K. Petersen
Date: Thu Oct 08 2020 - 16:51:15 EST



Colin,

> 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-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering