linux/drivers/scsi/hisi_sas
Luo Jiaxing cabe7c10c9 scsi: hisi_sas: Delete the debugfs folder of hisi_sas when the probe fails
Although if the debugfs initialization fails, we will delete the debugfs
folder of hisi_sas, but we did not consider the scenario where debugfs was
successfully initialized, but the probe failed for other reasons. We found
out that hisi_sas folder is still remain after the probe failed.

When probe fail, we should delete debugfs folder to avoid the above issue.

Link: https://lore.kernel.org/r/1571926105-74636-18-git-send-email-john.garry@huawei.com
Signed-off-by: Luo Jiaxing <luojiaxing@huawei.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2019-10-24 21:31:15 -04:00
..
hisi_sas_main.c scsi: hisi_sas: Delete the debugfs folder of hisi_sas when the probe fails 2019-10-24 21:31:15 -04:00
hisi_sas_v1_hw.c scsi: hisi_sas: use wait_for_completion_timeout() when clearing ITCT 2019-10-24 21:31:13 -04:00
hisi_sas_v2_hw.c scsi: hisi_sas: use wait_for_completion_timeout() when clearing ITCT 2019-10-24 21:31:13 -04:00
hisi_sas_v3_hw.c scsi: hisi_sas: Delete the debugfs folder of hisi_sas when the probe fails 2019-10-24 21:31:15 -04:00
hisi_sas.h scsi: hisi_sas: Add ability to have multiple debugfs dumps 2019-10-24 21:31:15 -04:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00