aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2020-10-08 19:32:39 +0100
committerMartin K. Petersen <[email protected]>2020-10-08 16:50:40 -0400
commit1ef16a407f544408d3559e4de2ed05591df4da75 (patch)
tree0804769e5506b1eb3c0a2ba5a17bd9d89b375adc /tools/perf/scripts/python/export-to-sqlite.py
parentb6ba9b0e201a1c36972143366a3c22e672c43a61 (diff)
scsi: qla2xxx: Fix return of uninitialized value in rval
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. Link: https://lore.kernel.org/r/[email protected] Fixes: b994718760fa ("scsi: qla2xxx: Use constant when it is known") Reviewed-by: Himanshu Madhani <[email protected]> Acked-by: Pavel Machek (CIP) <[email protected]> Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]> Addresses-Coverity: ("Uninitialized scalar variable")
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions