Cherry-picking the following commit causes a build failure:
  3d52c76 Add toshiba plugin code and command documentation.
This is due to a change due to a since-added parameter to nvme_set_feature() in:
  54f5e4a Add support for decoding IO Determinism features

Following the pattern of changes in that commit, I think we can just
drop that parameter like so:

diff --git a/toshiba-nvme.c b/toshiba-nvme.c
index a3b6c13..4bd03b7 100644
--- a/toshiba-nvme.c
+++ b/toshiba-nvme.c
@@ -627,7 +627,7 @@ static int clear_correctable_errors(int argc, char **argv, 
struct command *cmd,
        const bool save = false;
        __u32 result;
        err = nvme_set_feature(fd, namespace_id, feature_id, value, cdw12, save,
-                               0, NULL, &result);
+                               NULL, &result);
        if (err) {
                fprintf(stderr, "%s: couldn't clear PCIe correctable errors 
\n", __func__);
        }

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1866897

Title:
  Add toshiba plugin support

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvme-cli/+bug/1866897/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to