Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2018 22:59:19 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r341661 - head/sbin/nvmecontrol/modules/intel
Message-ID:  <201812062259.wB6MxJ0x026532@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812062259.wB6MxJ0x026532>