tleleu / rpms / kernel

Forked from rpms/kernel 3 years ago
Clone
9dc7b3
centosplus patch
9dc7b3
9dc7b3
Ref: ELRepo patch elrepo-mpt3sas-unremove-el8.patch
9dc7b3
9dc7b3
Fixes:
9dc7b3
https://elrepo.org/bugs/view.php?id=919
9dc7b3
9dc7b3
Some device IDs are listed as 'support_removed' in RHEL kernels.
9dc7b3
Do not return error when unsupported hardware is detected.
9dc7b3
9dc7b3
It probably makes sense to leave the check itself in place.
9dc7b3
9dc7b3
--- a/drivers/scsi/mpt3sas/mpt3sas_scsih.c	2018-08-31 19:51:40.686480022 +0200
9dc7b3
+++ b/drivers/scsi/mpt3sas/mpt3sas_scsih.c	2018-09-01 19:04:46.634532270 +0200
9dc7b3
@@ -10583,7 +10583,7 @@
9dc7b3
 
9dc7b3
 	if (pci_device_support_removed(mpt3sas_pci_table,
9dc7b3
 				mpt3sas_pci_ids_removed, pdev))
9dc7b3
-		return -ENODEV;
9dc7b3
+		printk(KERN_DEBUG "mpt3sas: elrepo version supporting all pci ids\n");
9dc7b3
 
9dc7b3
 	/* Determine in which MPI version class this pci device belongs */
9dc7b3
 	hba_mpi_version = _scsih_determine_hba_mpi_version(pdev);