]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
plugins/ocp: changed command clear-pcie-correctable-error-counters to match OCP 2...
authorleonardo.da.cunha <leonardo.da.cunha@solidigm.com>
Thu, 16 Nov 2023 16:45:46 +0000 (08:45 -0800)
committerDaniel Wagner <wagi@monom.org>
Mon, 27 Nov 2023 12:29:48 +0000 (13:29 +0100)
Fixed some function name typos.

Signed-off-by: leonardo.da.cunha <leonardo.da.cunha@solidigm.com>
plugins/ocp/ocp-clear-features.c
plugins/ocp/ocp-clear-features.h
plugins/ocp/ocp-nvme.c
plugins/ocp/ocp-nvme.h
plugins/solidigm/solidigm-nvme.c
plugins/solidigm/solidigm-nvme.h

index 7c4e7e5395e7b81105d71d49420e644cfc2142c0..0f49584db9f30b3ee15b395e675893b7ea5271c2 100644 (file)
@@ -83,7 +83,7 @@ int ocp_clear_fw_update_history(int argc, char **argv, struct command *cmd, stru
        return ocp_clear_feature(argc, argv, desc, OCP_FID_CLEAR_FW_ACTIVATION_HISTORY);
 }
 
-int ocp_clear_pcie_corectable_error_counters(int argc, char **argv, struct command *cmd,
+int ocp_clear_pcie_correctable_errors(int argc, char **argv, struct command *cmd,
                                             struct plugin *plugin)
 {
        const char *desc = "OCP Clear PCIe Correctable Error Counters";
index cbecd4b7a3092e81c018a9211e4b4b3fe7480784..99766dd8880ff859cfde7eab7967a52bede9d4ae 100644 (file)
@@ -8,5 +8,5 @@
 
 int ocp_clear_fw_update_history(int argc, char **argv, struct command *cmd, struct plugin *plugin);
 
-int ocp_clear_pcie_corectable_error_counters(int argc, char **argv, struct command *cmd,
+int ocp_clear_pcie_correctable_errors(int argc, char **argv, struct command *cmd,
                                             struct plugin *plugin);
index cebb0d9dd4b330ba5443dfb4011286e7f5fda3b2..43677295ca4991c80f6a4bd780607048c9e60f79 100644 (file)
@@ -2118,10 +2118,10 @@ static int smart_add_log(int argc, char **argv, struct command *cmd,
        return ocp_smart_add_log(argc, argv, cmd, plugin);
 }
 
-static int clear_pcie_corectable_error_counters(int argc, char **argv, struct command *cmd,
+static int clear_pcie_correctable_error_counters(int argc, char **argv, struct command *cmd,
                                                struct plugin *plugin)
 {
-       return ocp_clear_pcie_corectable_error_counters(argc, argv, cmd, plugin);
+       return ocp_clear_pcie_correctable_errors(argc, argv, cmd, plugin);
 }
 
 static int fw_activation_history_log(int argc, char **argv, struct command *cmd,
index dcbe27a82f4e59754487cf03e0ea79e048833b97..153828b392e3076b8ac414f79bdce712497dbe80 100644 (file)
@@ -21,7 +21,7 @@ PLUGIN(NAME("ocp", "OCP cloud SSD extensions", NVME_VERSION),
                ENTRY("internal-log", "Retrieve and save internal device telemetry log", ocp_telemetry_log)
                ENTRY("clear-fw-activate-history", "Clear firmware update history log", clear_fw_update_history)
                ENTRY("eol-plp-failure-mode", "Define EOL or PLP circuitry failure mode.", eol_plp_failure_mode)
-               ENTRY("clear-pcie-correctable-error-counters", "Clear PCIe correctable error counters", clear_pcie_corectable_error_counters)
+               ENTRY("clear-pcie-correctable-errors", "Clear PCIe correctable error counters", clear_pcie_correctable_error_counters)
                ENTRY("fw-activate-history", "Get firmware activation history log", fw_activation_history_log)
                ENTRY("unsupported-reqs-log", "Get Unsupported Requirements Log Page", ocp_unsupported_requirements_log)
                ENTRY("error-recovery-log", "Retrieve Error Recovery Log Page", ocp_error_recovery_log)
index e144737ec8790f07b0f0ad118fd07f0b30eb0763..d9ef737d8410117c858745437ce36cdae62114d1 100644 (file)
@@ -60,10 +60,10 @@ static int clear_fw_update_history(int argc, char **argv, struct command *cmd,
        return ocp_clear_fw_update_history(argc, argv, cmd, plugin);
 }
 
-static int clear_pcie_corectable_error_counters(int argc, char **argv, struct command *cmd,
+static int clear_pcie_correctable_error_counters(int argc, char **argv, struct command *cmd,
                                                struct plugin *plugin)
 {
-       return ocp_clear_pcie_corectable_error_counters(argc, argv, cmd, plugin);
+       return ocp_clear_pcie_correctable_errors(argc, argv, cmd, plugin);
 }
 
 static int smart_cloud(int argc, char **argv, struct command *cmd,
index e4794a8065b9b6fc6249f415036865ed3466a202..336f127b4ee6de165157828f4fdf92a7c0939bb9 100644 (file)
@@ -25,7 +25,7 @@ PLUGIN(NAME("solidigm", "Solidigm vendor specific extensions", SOLIDIGM_PLUGIN_V
                ENTRY("market-log", "Retrieve Market Log", get_market_log)
                ENTRY("latency-tracking-log", "Enable/Retrieve Latency tracking Log", get_latency_tracking_log)
                ENTRY("parse-telemetry-log", "Parse Telemetry Log binary", get_telemetry_log)
-               ENTRY("clear-pcie-correctable-errors ", "Clear PCIe Correctable Error Counters (redirects to ocp plug-in)", clear_pcie_corectable_error_counters)
+               ENTRY("clear-pcie-correctable-errors ", "Clear PCIe Correctable Error Counters (redirects to ocp plug-in)", clear_pcie_correctable_error_counters)
                ENTRY("clear-fw-activate-history", "Clear firmware update history log (redirects to ocp plug-in)", clear_fw_update_history)
                ENTRY("vs-fw-activate-history", "Get firmware activation history log (redirects to ocp plug-in)", fw_activation_history)
                ENTRY("log-page-directory", "Retrieve log page directory", get_log_page_directory_log)