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

2020-10-13 Thread Martin K. Petersen
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:

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

2020-10-08 Thread Martin K. Petersen
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

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

2020-10-08 Thread Colin Ian King
On 08/10/2020 19:41, Pavel Machek wrote: > On Thu 2020-10-08 19:32:39, Colin King wrote: >> From: Colin Ian King >> >> 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 -

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

2020-10-08 Thread Himanshu Madhani
> On Oct 8, 2020, at 1:32 PM, Colin King wrote: > > From: Colin Ian King > > 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. > > Addresses-Coverity: ("Uni

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

2020-10-08 Thread Pavel Machek
On Thu 2020-10-08 19:32:39, Colin King wrote: > From: Colin Ian King > > 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. > > Addresses-Coverity: ("Uninitialize

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

2020-10-08 Thread Colin King
From: Colin Ian King 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. Addresses-Coverity: ("Uninitialized scalar variable") Fixes: b994718760fa ("scsi: qla2xxx: Use