]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scsi: mpt3sas: Fix in error path
authorTomas Henzl <thenzl@redhat.com>
Sun, 15 Oct 2023 11:45:29 +0000 (13:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Nov 2023 10:21:09 +0000 (11:21 +0100)
commit2f64fef12c6e64925a531c906abfb8dc4c0edd33
treec89f8981b5b9dbed2c91f131959ac06d7e1982d2
parentfb7ab17f40555c478c9dc421ec0f226482c18397
scsi: mpt3sas: Fix in error path

[ Upstream commit e40c04ade0e2f3916b78211d747317843b11ce10 ]

The driver should be deregistered as misc driver after PCI registration
failure.

Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Link: https://lore.kernel.org/r/20231015114529.10725-1-thenzl@redhat.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/scsi/mpt3sas/mpt3sas_scsih.c