ignatenkobrain / rpms / kernel

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