nvme - Fix composite temperature in nvmectl
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 18 Jun 2016 17:27:43 +0000 (10:27 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 18 Jun 2016 18:17:05 +0000 (11:17 -0700)
commit1cdf60d569383248aa03275555a7474f9e2b9f42
tree1649478128952321a7cd24b0326979809501ddcb
parent11a137b0005d1b2ed33e996cd0fed2cba61fe804
nvme - Fix composite temperature in nvmectl

* Fix composite temperature reporting in nvmectl.  There are two byte
  fields making up a 16-word, not two separate byte fields.  The confusion
  stemmed from the fact that the 16-bit word is not word-aligned (possibly
  the only field in the entire spec that isn't aligned!).

* Add 'errors' directive to dump error logs.
sbin/nvmectl/nvmectl.c
sbin/nvmectl/nvmectl.h
sbin/nvmectl/subs.c