chengshan / rpms / kernel

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