diff options
author | Peter Chang <[email protected]> | 2020-03-16 13:19:04 +0530 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2020-03-17 13:57:16 -0400 |
commit | b40f28820fbafbcb0e0ec555fc2bca76ac1d9612 (patch) | |
tree | ad0a666d16ed3496d9268b08e87b4135edd665eb /drivers/usb/cdns3/cdns3-debug.h | |
parent | 9d9c7c20fb35444fe26bf284fb89006fd7767ab7 (diff) |
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/[email protected]
Acked-by: Jack Wang <[email protected]>
Signed-off-by: Peter Chang <[email protected]>
Signed-off-by: Deepak Ukey <[email protected]>
Signed-off-by: Viswas G <[email protected]>
Signed-off-by: Radha Ramachandran <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions