fanghuilin / rpms / kernel

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