orgads / rpms / kernel

Forked from rpms/kernel 4 years ago
Clone
efc1e5
--- a/kernel/rh_taint.c	2019-05-25 14:06:27.474558423 -0700
efc1e5
+++ b/kernel/rh_taint.c	2019-05-25 14:25:53.471345832 -0700
efc1e5
@@ -2,12 +2,12 @@
efc1e5
 #include <linux/module.h>
efc1e5
 
efc1e5
 /*
efc1e5
- * The following functions are used by Red Hat to indicate to users that
efc1e5
- * hardware and drivers are unsupported, or have limited support in RHEL major
efc1e5
+ * The following functions are used by CentOS to indicate to users that
efc1e5
+ * hardware and drivers are unsupported, or have limited support in CentOS Linux major
efc1e5
  * and minor releases.  These functions output loud warning messages to the end
efc1e5
  * user and should be USED WITH CAUTION.
efc1e5
  *
efc1e5
- * Any use of these functions _MUST_ be documented in the RHEL Release Notes,
efc1e5
+ * Any use of these functions _MUST_ be documented in the CentOS Linux Release Notes,
efc1e5
  * and have approval of management.
efc1e5
  */
efc1e5
 
efc1e5
@@ -16,15 +16,15 @@
efc1e5
  * @msg: Hardware name, class, or type
efc1e5
  *
efc1e5
  * Called to mark a device, class of devices, or types of devices as not having
efc1e5
- * support in any RHEL minor release.  This does not TAINT the kernel.  Red Hat
efc1e5
- * will not fix bugs against this hardware in this minor release.  Red Hat may
efc1e5
+ * support in any CentOS Linux minor release.  This does not TAINT the kernel. CentOS 
efc1e5
+ * will not fix bugs against this hardware in this minor release.  CentOS may
efc1e5
  * declare support in a future major or minor update release.  This cannot be
efc1e5
  * used to mark drivers unsupported.
efc1e5
  */
efc1e5
 void mark_hardware_unsupported(const char *msg)
efc1e5
 {
efc1e5
 	/* Print one single message */
efc1e5
-	pr_crit("Warning: %s - this hardware has not undergone testing by Red Hat and might not be certified. Please consult https://hardware.redhat.com for certified hardware.\n", msg);
efc1e5
+	pr_crit("Warning: %s - this hardware has not undergone upstream testing. Please consult http://wiki.centos.org/FAQ for more information\n", msg);
efc1e5
 }
efc1e5
 EXPORT_SYMBOL(mark_hardware_unsupported);
efc1e5
 
efc1e5
@@ -35,12 +35,12 @@ EXPORT_SYMBOL(mark_hardware_unsupported)
efc1e5
  * Called to minimize the support status of a previously supported device in
efc1e5
  * a minor release.  This does not TAINT the kernel.  Marking hardware
efc1e5
  * deprecated is usually done in conjunction with the hardware vendor.  Future
efc1e5
- * RHEL major releases may not include this driver.  Driver updates and fixes
efc1e5
+ * CentOS Linux major releases may not include this driver.  Driver updates and fixes
efc1e5
  * for this device will be limited to critical issues in future minor releases.
efc1e5
  */
efc1e5
 void mark_hardware_deprecated(const char *msg)
efc1e5
 {
efc1e5
-	pr_crit("Warning: %s - this hardware is not recommended for new deployments. It continues to be supported in this RHEL release, but it is likely to be removed in the next major release. Driver updates and fixes for this device will be limited to critical issues. Please contact Red Hat Support or your device's hardware vendor for additional information.\n", msg);
efc1e5
+	pr_crit("Warning: %s - this hardware is not recommended for new deployments. It continues to be supported in this CentOS Linux release, but it is likely to be removed in the next major release. Driver updates and fixes for this device will be limited to critical issues. Please contact CentOS Support or your device's hardware vendor for additional information.\n", msg);
efc1e5
 }
efc1e5
 EXPORT_SYMBOL(mark_hardware_deprecated);
efc1e5
 
efc1e5
@@ -50,9 +50,9 @@ EXPORT_SYMBOL(mark_hardware_deprecated);
efc1e5
  *
efc1e5
  * Called to minimize the support status of a new driver.  This does TAINT the
efc1e5
  * kernel.  Calling this function indicates that the driver or subsystem has
efc1e5
- * had limited testing and is not marked for full support within this RHEL
efc1e5
- * minor release.  The next RHEL minor release may contain full support for
efc1e5
- * this driver.  Red Hat does not guarantee that bugs reported against this
efc1e5
+ * had limited testing and is not marked for full support within this CentOS Linux
efc1e5
+ * minor release.  The next CentOS Linux minor release may contain full support for
efc1e5
+ * this driver.  CentOS does not guarantee that bugs reported against this
efc1e5
  * driver or subsystem will be resolved.
efc1e5
  */
efc1e5
 void mark_tech_preview(const char *msg, struct module *mod)
efc1e5
@@ -81,13 +81,13 @@ EXPORT_SYMBOL(mark_tech_preview);
efc1e5
  * mark_driver_unsupported - drivers that we know we don't want to support
efc1e5
  * @name: the name of the driver
efc1e5
  *
efc1e5
- * In some cases Red Hat has chosen to build a driver for internal QE
efc1e5
+ * In some cases CentOS has chosen to build a driver for internal QE
efc1e5
  * use. Use this function to mark those drivers as unsupported for
efc1e5
  * customers.
efc1e5
  */
efc1e5
 void mark_driver_unsupported(const char *name)
efc1e5
 {
efc1e5
-	pr_crit("Warning: %s - This driver has not undergone sufficient testing by Red Hat for this release and therefore cannot be used in production systems.\n",
efc1e5
+	pr_crit("Warning: %s - This driver has not undergone sufficient testing by CentOS for this release and therefore cannot be used in production systems.\n",
efc1e5
 	        name ? name : "kernel");
efc1e5
 }
efc1e5
 EXPORT_SYMBOL(mark_driver_unsupported);