linuxtorvalds / rpms / kernel

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