summaryrefslogtreecommitdiffstats
path: root/0001-mptsas-Taint-kernel-if-mptsas-is-loaded.patch
diff options
context:
space:
mode:
authorThorsten Leemhuis <fedora@leemhuis.info>2020-06-29 20:59:56 +0200
committerThorsten Leemhuis <fedora@leemhuis.info>2020-06-29 20:59:56 +0200
commit7b32641801900ee7e32065b436d7318c5d7a972e (patch)
tree7e1f1ffca46787c5ba55af0a2fc9767f9c6e5594 /0001-mptsas-Taint-kernel-if-mptsas-is-loaded.patch
parent506260a3258dfcbd81c9c8b2f051b9c515ad6071 (diff)
parent61b5e2fd06a4be7134afb1cd363002e015123f7f (diff)
downloadkernel-5.8.0-0.rc3.1.vanilla.1.fc32.tar.gz
kernel-5.8.0-0.rc3.1.vanilla.1.fc32.tar.xz
kernel-5.8.0-0.rc3.1.vanilla.1.fc32.zip
Diffstat (limited to '0001-mptsas-Taint-kernel-if-mptsas-is-loaded.patch')
-rw-r--r--0001-mptsas-Taint-kernel-if-mptsas-is-loaded.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/0001-mptsas-Taint-kernel-if-mptsas-is-loaded.patch b/0001-mptsas-Taint-kernel-if-mptsas-is-loaded.patch
index aab99d905..1888185e4 100644
--- a/0001-mptsas-Taint-kernel-if-mptsas-is-loaded.patch
+++ b/0001-mptsas-Taint-kernel-if-mptsas-is-loaded.patch
@@ -37,7 +37,7 @@ index 6a79cd0ebe2b..c17614cd6ed8 100644
@@ -5290,6 +5290,11 @@ mptsas_probe(struct pci_dev *pdev, const struct pci_device_id *id)
ioc, MPI_SAS_OP_CLEAR_ALL_PERSISTENT);
}
-
+
+#ifdef CONFIG_RHEL_DIFFERENCES
+ add_taint(TAINT_SUPPORT_REMOVED, LOCKDEP_STILL_OK);
+ pr_warn("MPTSAS MODULE IS NOT SUPPORTED\n");
@@ -47,5 +47,5 @@ index 6a79cd0ebe2b..c17614cd6ed8 100644
if (error) {
dprintk(ioc, printk(MYIOC_s_ERR_FMT
--
-2.26.2
+2.25.4