linuxtorvalds / rpms / kernel

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