|
|
1f73373 |
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
Jeremy Cline |
d1b6f8c |
From: Laura Abbott <labbott@redhat.com>
|
|
Jeremy Cline |
d1b6f8c |
Date: Thu, 2 Jan 2020 14:24:48 -0500
|
|
Jeremy Cline |
d1b6f8c |
Subject: [PATCH] mptspi: Taint kernel if mptspi is loaded
|
|
Jeremy Cline |
d1b6f8c |
|
|
Jeremy Cline |
d1b6f8c |
Author: Tomas Henzl <thenzl@redhat.com>
|
|
Jeremy Cline |
d1b6f8c |
Date: Thu Jan 10 16:11:43 2019 -0500
|
|
Jeremy Cline |
d1b6f8c |
|
|
Jeremy Cline |
d1b6f8c |
[message] mptspi: Taint kernel if mptspi is loaded
|
|
Jeremy Cline |
d1b6f8c |
|
|
Jeremy Cline |
d1b6f8c |
Message-id: <20190110161145.5117-2-thenzl@redhat.com>
|
|
Jeremy Cline |
d1b6f8c |
Patchwork-id: 237188
|
|
Jeremy Cline |
d1b6f8c |
O-Subject: [RHEL-8.0 e-stor 1/3] mptspi: Taint kernel if mptspi is loaded
|
|
Jeremy Cline |
d1b6f8c |
Bugzilla: 1651803
|
|
Jeremy Cline |
d1b6f8c |
RH-Acked-by: Maurizio Lombardi <mlombard@redhat.com>
|
|
Jeremy Cline |
d1b6f8c |
RH-Acked-by: Jarod Wilson <jarod@redhat.com>
|
|
Jeremy Cline |
d1b6f8c |
RH-Acked-by: Chris Leech <cleech@redhat.com>
|
|
Jeremy Cline |
d1b6f8c |
|
|
Jeremy Cline |
d1b6f8c |
RHEL-only
|
|
Jeremy Cline |
d1b6f8c |
We are only keeping it to ease developer transitions, we're not
|
|
Jeremy Cline |
d1b6f8c |
supporting it, so mark it as unsupported by tainting the kernel and
|
|
Jeremy Cline |
d1b6f8c |
issuing an impossible to misunderstand message to the log
|
|
Jeremy Cline |
d1b6f8c |
|
|
Jeremy Cline |
d1b6f8c |
Signed-off-by: Herton R. Krzesinski <herton@redhat.com>
|
|
Jeremy Cline |
d1b6f8c |
|
|
Jeremy Cline |
d1b6f8c |
Upstream Status: RHEL only
|
|
Jeremy Cline |
d1b6f8c |
Signed-off-by: Laura Abbott <labbott@redhat.com>
|
|
Jeremy Cline |
d1b6f8c |
---
|
|
Jeremy Cline |
d1b6f8c |
drivers/message/fusion/mptspi.c | 6 ++++++
|
|
Jeremy Cline |
d1b6f8c |
1 file changed, 6 insertions(+)
|
|
Jeremy Cline |
d1b6f8c |
|
|
Jeremy Cline |
d1b6f8c |
diff --git a/drivers/message/fusion/mptspi.c b/drivers/message/fusion/mptspi.c
|
|
Jeremy Cline |
d1b6f8c |
index eabc4de5816c..c028f5944694 100644
|
|
Jeremy Cline |
d1b6f8c |
--- a/drivers/message/fusion/mptspi.c
|
|
Jeremy Cline |
d1b6f8c |
+++ b/drivers/message/fusion/mptspi.c
|
|
Jeremy Cline |
d1b6f8c |
@@ -1534,6 +1534,12 @@ mptspi_probe(struct pci_dev *pdev, const struct pci_device_id *id)
|
|
Jeremy Cline |
d1b6f8c |
0, 0, 0, 0, 5);
|
|
|
6c2cc50 |
|
|
Jeremy Cline |
d1b6f8c |
scsi_scan_host(sh);
|
|
Jeremy Cline |
d1b6f8c |
+
|
|
Jeremy Cline |
d1b6f8c |
+#ifdef CONFIG_RHEL_DIFFERENCES
|
|
Jeremy Cline |
d1b6f8c |
+ add_taint(TAINT_SUPPORT_REMOVED, LOCKDEP_STILL_OK);
|
|
Jeremy Cline |
d1b6f8c |
+ pr_warn("MPTSPI MODULE IS NOT SUPPORTED\n");
|
|
Jeremy Cline |
d1b6f8c |
+#endif
|
|
Jeremy Cline |
d1b6f8c |
+
|
|
Jeremy Cline |
d1b6f8c |
return 0;
|
|
|
6c2cc50 |
|
|
Jeremy Cline |
d1b6f8c |
out_mptspi_probe:
|
|
Jeremy Cline |
d1b6f8c |
--
|
|
|
6c2cc50 |
2.26.2
|
|
Jeremy Cline |
d1b6f8c |
|