summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2020-10-05 07:45:44 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2020-10-07 23:50:03 -0400
commit21a6cd48bb483e16703f4e4415ad2e9e3c71a5dd (patch)
treee408f0b84cc88fd6ae75c14d54a7b903cd13b358 /tools/perf/scripts/python/exported-sql-viewer.py
parent657ed8a8a61b15eba70f7c4e2b61f643cf1ba91f (diff)
scsi: qla2xxx: Initialize variable in qla8044_poll_reg()
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 by reusing the timeout error reporter. Because the value is unset, a garbage value will be reported. Initialize the value. Link: https://lore.kernel.org/r/20201005144544.25335-1-trix@redhat.com Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com> Signed-off-by: Tom Rix <trix@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions