summaryrefslogtreecommitdiffstats
path: root/0001-mptsas-Taint-kernel-if-mptsas-is-loaded.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001-mptsas-Taint-kernel-if-mptsas-is-loaded.patch')
-rw-r--r--0001-mptsas-Taint-kernel-if-mptsas-is-loaded.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/0001-mptsas-Taint-kernel-if-mptsas-is-loaded.patch b/0001-mptsas-Taint-kernel-if-mptsas-is-loaded.patch
index 9434a6000..0b16049d8 100644
--- a/0001-mptsas-Taint-kernel-if-mptsas-is-loaded.patch
+++ b/0001-mptsas-Taint-kernel-if-mptsas-is-loaded.patch
@@ -1,4 +1,4 @@
-From 91b12f6f400144722cbf26410ed77d910e91dda7 Mon Sep 17 00:00:00 2001
+From ab0040a0431280f631291b013e371d6b55ec70d0 Mon Sep 17 00:00:00 2001
From: Laura Abbott <labbott@redhat.com>
Date: Thu, 2 Jan 2020 14:24:46 -0500
Subject: [PATCH] mptsas: Taint kernel if mptsas is loaded
@@ -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.0
+2.26.2