potatogim / rpms / kernel

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