aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorMike Christie <[email protected]>2023-10-04 16:00:09 -0500
committerMartin K. Petersen <[email protected]>2023-10-13 16:36:20 -0400
commitadd2c24d32a38402dfec3c1465f332ab8a769890 (patch)
tree4cc37ad77f2c7c39dff2f490f6355276d8c2318c /tools/perf/scripts/python/bin/export-to-postgresql-report
parent0b149cee836aa53989ea089af1cb9d90d7c6ac9e (diff)
scsi: sd: Fix scsi_mode_sense caller's sshdr use
The sshdr passed into scsi_execute_cmd is only initialized if scsi_execute_cmd returns >= 0, and scsi_mode_sense will convert all non good statuses like check conditions to -EIO. This has scsi_mode_sense callers that were possibly accessing an uninitialized sshdrs to only access it if we got -EIO. Signed-off-by: Mike Christie <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Martin Wilck <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions