chengshan / rpms / kernel

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