Adding upstream version 1.5.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
7536d04328
commit
6b42c9b733
874 changed files with 9553 additions and 1347 deletions
|
@ -56,7 +56,7 @@ except Exception as e:
|
|||
sys.exit(f'Failed to discover: {e}')
|
||||
|
||||
try:
|
||||
c.disconnect()
|
||||
c.disconnect()
|
||||
except Exception as e:
|
||||
sys.exit(f'Failed to disconnect: {e}')
|
||||
|
||||
|
|
|
@ -113,7 +113,7 @@ int do_info(nvme_mi_ep_t ep)
|
|||
printf(" smart warnings: 0x%x\n", ss_health.sw);
|
||||
printf(" composite temp: %d\n", ss_health.ctemp);
|
||||
printf(" drive life used: %d%%\n", ss_health.pdlu);
|
||||
printf(" controller status: 0x%04x\n", le16_to_cpu(ss_health.pdlu));
|
||||
printf(" controller status: 0x%04x\n", le16_to_cpu(ss_health.ccs));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue