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:
imp 2018-12-06 22:59:18 +00:00
parent 7013d96c75
commit e49b6cd38c

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;