]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: smartpqi: fix call trace in device discovery
authorMurthy Bhat <Murthy.Bhat@microsemi.com>
Mon, 7 Oct 2019 22:31:28 +0000 (17:31 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 10 Oct 2019 03:07:50 +0000 (23:07 -0400)
commit22b4567d83c0b726ce5e73d4353d7fafc6503b0a
tree716de0b89ac8f9b0e4c6100d0a7ebb1d87361fc5
parent2360d02e9ffdd626206ce66d97f815f9f89e7762
scsi: smartpqi: fix call trace in device discovery

Use sas_phy_delete rather than sas_phy_free which, according to
comments, should not be called for PHYs that have been set up
successfully.

Link: https://lore.kernel.org/r/157048748876.11757.17773443136670011786.stgit@brunhilda
Reviewed-by: Scott Benesh <scott.benesh@microsemi.com>
Reviewed-by: Scott Teel <scott.teel@microsemi.com>
Reviewed-by: Kevin Barnett <kevin.barnett@microsemi.com>
Signed-off-by: Murthy Bhat <Murthy.Bhat@microsemi.com>
Signed-off-by: Don Brace <don.brace@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/smartpqi/smartpqi_sas_transport.c