svn commit: r341661 - head/sbin/nvmecontrol/modules/intel

Warner Losh imp at FreeBSD.org
Thu Dec 6 22:59:22 UTC 2018


Author: imp
Date: Thu Dec  6 22:59:18 2018
New Revision: 341661
URL: https://svnweb.freebsd.org/changeset/base/341661

Log:
  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.
  
  Sponsored by: Netflix

Modified:
  head/sbin/nvmecontrol/modules/intel/intel.c

Modified: head/sbin/nvmecontrol/modules/intel/intel.c
==============================================================================
--- head/sbin/nvmecontrol/modules/intel/intel.c	Thu Dec  6 22:59:08 2018	(r341660)
+++ head/sbin/nvmecontrol/modules/intel/intel.c	Thu Dec  6 22:59:18 2018	(r341661)
@@ -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;


More information about the svn-src-all mailing list