Author: mav
Date: Mon Aug 12 17:51:28 2019
New Revision: 350918
URL: https://svnweb.freebsd.org/changeset/base/350918

Log:
  MFC r341661 (by imp): It's useful to have this be a global function.
  
  Other vendors base their additional smart info pages on what Intel did
  plus some other bits. So it's convenient to have this be global.

Modified:
  stable/12/sbin/nvmecontrol/modules/intel/intel.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sbin/nvmecontrol/modules/intel/intel.c
==============================================================================
--- stable/12/sbin/nvmecontrol/modules/intel/intel.c    Mon Aug 12 17:50:18 
2019        (r350917)
+++ stable/12/sbin/nvmecontrol/modules/intel/intel.c    Mon Aug 12 17:51:28 
2019        (r350918)
@@ -119,7 +119,7 @@ print_intel_write_lat_log(const struct nvme_controller
 /*
  * Table 19. 5.4 SMART Attributes. Others also implement this and some extra 
data not documented.
  */
-static void
+void
 print_intel_add_smart(const struct nvme_controller_data *cdata __unused, void 
*buf, uint32_t size __unused)
 {
        uint8_t *walker = buf;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to