fanghuilin / rpms / kernel

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