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
This commit is contained in:
Warner Losh 2018-12-06 22:59:18 +00:00
parent 8775459902
commit e4aa091bd1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=341661

View File

@ -119,7 +119,7 @@ print_intel_write_lat_log(const struct nvme_controller_data *cdata __unused, voi
/*
* 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;