chengshan / rpms / kernel

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