chengshan / rpms / kernel

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