diff options
author | Peter Chang <dpf@google.com> | 2020-03-16 10:49:04 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-03-17 20:57:16 +0300 |
commit | b40f28820fbafbcb0e0ec555fc2bca76ac1d9612 (patch) | |
tree | ad0a666d16ed3496d9268b08e87b4135edd665eb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9d9c7c20fb35444fe26bf284fb89006fd7767ab7 (diff) | |
download | linux-b40f28820fbafbcb0e0ec555fc2bca76ac1d9612.tar.xz |
scsi: pm80xx: Cleanup initialization loading fail path
1) Move the instance tracking down after we think the instance is good to
go. Avoids having a use-after free.
2) There are goto targets for trying to cleanup if the hw fails to
initialize, but there's some overlap depending on who thinks they own
the sub-structures.
Link: https://lore.kernel.org/r/20200316074906.9119-5-deepak.ukey@microchip.com
Acked-by: Jack Wang <jinpu.wang@cloud.ionos.com>
Signed-off-by: Peter Chang <dpf@google.com>
Signed-off-by: Deepak Ukey <deepak.ukey@microchip.com>
Signed-off-by: Viswas G <Viswas.G@microchip.com>
Signed-off-by: Radha Ramachandran <radha@google.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions