linuxtorvalds / rpms / kernel

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