orgads / rpms / kernel

Forked from rpms/kernel 4 years ago
Clone
f990a5
--- a/kernel/rh_taint.c	2019-05-25 14:06:27.474558423 -0700
f990a5
+++ b/kernel/rh_taint.c	2019-05-25 14:25:53.471345832 -0700
f990a5
@@ -2,12 +2,12 @@
f990a5
 #include <linux/module.h>
f990a5
 
f990a5
 /*
f990a5
- * The following functions are used by Red Hat to indicate to users that
f990a5
- * hardware and drivers are unsupported, or have limited support in RHEL major
f990a5
+ * The following functions are used by CentOS to indicate to users that
f990a5
+ * hardware and drivers are unsupported, or have limited support in CentOS Linux major
f990a5
  * and minor releases.  These functions output loud warning messages to the end
f990a5
  * user and should be USED WITH CAUTION.
f990a5
  *
f990a5
- * Any use of these functions _MUST_ be documented in the RHEL Release Notes,
f990a5
+ * Any use of these functions _MUST_ be documented in the CentOS Linux Release Notes,
f990a5
  * and have approval of management.
f990a5
  */
f990a5
 
f990a5
@@ -16,15 +16,15 @@
f990a5
  * @msg: Hardware name, class, or type
f990a5
  *
f990a5
  * Called to mark a device, class of devices, or types of devices as not having
f990a5
- * support in any RHEL minor release.  This does not TAINT the kernel.  Red Hat
f990a5
- * will not fix bugs against this hardware in this minor release.  Red Hat may
f990a5
+ * support in any CentOS Linux minor release.  This does not TAINT the kernel. CentOS 
f990a5
+ * will not fix bugs against this hardware in this minor release.  CentOS may
f990a5
  * declare support in a future major or minor update release.  This cannot be
f990a5
  * used to mark drivers unsupported.
f990a5
  */
f990a5
 void mark_hardware_unsupported(const char *msg)
f990a5
 {
f990a5
 	/* Print one single message */
f990a5
-	pr_crit("Warning: %s - this hardware has not undergone testing by Red Hat and might not be certified. Please consult https://hardware.redhat.com for certified hardware.\n", msg);
f990a5
+	pr_crit("Warning: %s - this hardware has not undergone upstream testing. Please consult http://wiki.centos.org/FAQ for more information\n", msg);
f990a5
 }
f990a5
 EXPORT_SYMBOL(mark_hardware_unsupported);
f990a5
 
f990a5
@@ -35,12 +35,12 @@ EXPORT_SYMBOL(mark_hardware_unsupported)
f990a5
  * Called to minimize the support status of a previously supported device in
f990a5
  * a minor release.  This does not TAINT the kernel.  Marking hardware
f990a5
  * deprecated is usually done in conjunction with the hardware vendor.  Future
f990a5
- * RHEL major releases may not include this driver.  Driver updates and fixes
f990a5
+ * CentOS Linux major releases may not include this driver.  Driver updates and fixes
f990a5
  * for this device will be limited to critical issues in future minor releases.
f990a5
  */
f990a5
 void mark_hardware_deprecated(const char *msg)
f990a5
 {
f990a5
-	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);
f990a5
+	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 Support or your device's hardware vendor for additional information.\n", msg);
f990a5
 }
f990a5
 EXPORT_SYMBOL(mark_hardware_deprecated);
f990a5
 
f990a5
@@ -50,9 +50,9 @@ EXPORT_SYMBOL(mark_hardware_deprecated);
f990a5
  *
f990a5
  * Called to minimize the support status of a new driver.  This does TAINT the
f990a5
  * kernel.  Calling this function indicates that the driver or subsystem has
f990a5
- * had limited testing and is not marked for full support within this RHEL
f990a5
- * minor release.  The next RHEL minor release may contain full support for
f990a5
- * this driver.  Red Hat does not guarantee that bugs reported against this
f990a5
+ * had limited testing and is not marked for full support within this CentOS Linux
f990a5
+ * minor release.  The next CentOS Linux minor release may contain full support for
f990a5
+ * this driver.  CentOS does not guarantee that bugs reported against this
f990a5
  * driver or subsystem will be resolved.
f990a5
  */
f990a5
 void mark_tech_preview(const char *msg, struct module *mod)
f990a5
@@ -81,13 +81,13 @@ EXPORT_SYMBOL(mark_tech_preview);
f990a5
  * mark_driver_unsupported - drivers that we know we don't want to support
f990a5
  * @name: the name of the driver
f990a5
  *
f990a5
- * In some cases Red Hat has chosen to build a driver for internal QE
f990a5
+ * In some cases CentOS has chosen to build a driver for internal QE
f990a5
  * use. Use this function to mark those drivers as unsupported for
f990a5
  * customers.
f990a5
  */
f990a5
 void mark_driver_unsupported(const char *name)
f990a5
 {
f990a5
-	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",
f990a5
+	pr_crit("Warning: %s - This driver has not undergone sufficient testing by CentOS for this release and therefore cannot be used in production systems.\n",
f990a5
 	        name ? name : "kernel");
f990a5
 }
f990a5
 EXPORT_SYMBOL(mark_driver_unsupported);