Re: [PATCH] scsi: qla2xxx: initialize value

2020-10-13 Thread Martin K. Petersen
On Mon, 5 Oct 2020 07:45:44 -0700, t...@redhat.com wrote: > clang static analysis reports this problem: > > qla_nx2.c:694:3: warning: 6th function call argument is > an uninitialized value > ql_log(ql_log_fatal, vha, 0xb090, > ^ > > [...] Applie

Re: [PATCH] scsi: qla2xxx: initialize value

2020-10-07 Thread Martin K. Petersen
Tom, > clang static analysis reports this problem: > > qla_nx2.c:694:3: warning: 6th function call argument is > an uninitialized value > ql_log(ql_log_fatal, vha, 0xb090, > ^ Applied to 5.10/scsi-staging, thanks! -- Martin K. Petersen Or

Re: [PATCH] scsi: qla2xxx: initialize value

2020-10-07 Thread Himanshu Madhani
> On Oct 5, 2020, at 9:45 AM, t...@redhat.com wrote: > > From: Tom Rix > > clang static analysis reports this problem: > > qla_nx2.c:694:3: warning: 6th function call argument is > an uninitialized value >ql_log(ql_log_fatal, vha, 0xb090, >^ >

[PATCH] scsi: qla2xxx: initialize value

2020-10-05 Thread trix
From: Tom Rix clang static analysis reports this problem: qla_nx2.c:694:3: warning: 6th function call argument is an uninitialized value ql_log(ql_log_fatal, vha, 0xb090, ^ In qla8044_poll_reg(), when reading the reg fails, the error is reported