1
0
Fork 0

Adding upstream version 2.1.2.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-16 12:16:44 +01:00
parent 8e91e2f7f6
commit 28d4a2895d
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
338 changed files with 631 additions and 601 deletions

View file

@ -302,7 +302,7 @@ static int vt_add_entry_to_log(const int fd, const char *path, const struct vtvi
return -1;
}
ret = nvme_get_log_smart(fd, NVME_NSID_ALL, true, &smart.raw_smart);
ret = nvme_get_log_smart(fd, NVME_NSID_ALL, false, &smart.raw_smart);
if (ret) {
printf("Cannot read device SMART log\n");
return -1;
@ -354,7 +354,7 @@ static int vt_update_vtview_log_header(const int fd, const char *path, const str
return -1;
}
ret = nvme_get_log_fw_slot(fd, true, &header.raw_fw);
ret = nvme_get_log_fw_slot(fd, false, &header.raw_fw);
if (ret) {
printf("Cannot read device firmware log\n");
return -1;