Fix spelling mistakes using codespell
This commit corrects various spelling mistakes throughout the
repository. The corrections were made automatically using `codespell`[1]
tool.
[1]: https://github.com/codespell-project/codespell
Change-Id: I539a0c5baa63be240fc1c76367c0af338dd89c7b
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
diff --git a/pldmtool/pldm_bios_cmd.cpp b/pldmtool/pldm_bios_cmd.cpp
index fead185..e859bc1 100644
--- a/pldmtool/pldm_bios_cmd.cpp
+++ b/pldmtool/pldm_bios_cmd.cpp
@@ -698,7 +698,7 @@
if (!stringTable || !attrTable)
{
- std::cout << "StringTable/AttrTable Unavaliable" << std::endl;
+ std::cout << "StringTable/AttrTable Unavailable" << std::endl;
return;
}
@@ -792,7 +792,7 @@
if (!stringTable || !attrTable)
{
- std::cout << "StringTable/AttrTable Unavaliable" << std::endl;
+ std::cout << "StringTable/AttrTable Unavailable" << std::endl;
return;
}
diff --git a/pldmtool/pldm_cmd_helper.hpp b/pldmtool/pldm_cmd_helper.hpp
index 11b7ada..a59bb66 100644
--- a/pldmtool/pldm_cmd_helper.hpp
+++ b/pldmtool/pldm_cmd_helper.hpp
@@ -60,11 +60,11 @@
std::cout << data.dump(4) << std::endl;
}
-/** @brief MCTP socket read/recieve
+/** @brief MCTP socket read/receive
*
* @param[in] requestMsg - Request message to compare against loopback
- * message recieved from mctp socket
- * @param[out] responseMsg - Response buffer recieved from mctp socket
+ * message received from mctp socket
+ * @param[out] responseMsg - Response buffer received from mctp socket
* @param[in] pldmVerbose - verbosity flag - true/false
*
* @return - 0 on success.
diff --git a/pldmtool/pldm_fw_update_cmd.cpp b/pldmtool/pldm_fw_update_cmd.cpp
index 3466e54..25ab259 100644
--- a/pldmtool/pldm_fw_update_cmd.cpp
+++ b/pldmtool/pldm_fw_update_cmd.cpp
@@ -41,7 +41,7 @@
{PLDM_FD_AUX_STATE_IN_PROGRESS_OR_SUCCESS,
"AuxState is In Progress or Success"},
{PLDM_FD_TIMEOUT, "Timeout occurred while performing action"},
- {PLDM_FD_GENERIC_ERROR, "Generic Error has occured"}};
+ {PLDM_FD_GENERIC_ERROR, "Generic Error has occurred"}};
const std::map<uint8_t, const char*> fdReasonCode{
{PLDM_FD_INITIALIZATION, "Initialization of firmware device has occurred"},
diff --git a/pldmtool/pldm_platform_cmd.cpp b/pldmtool/pldm_platform_cmd.cpp
index 34b73b8..19f23fd 100644
--- a/pldmtool/pldm_platform_cmd.cpp
+++ b/pldmtool/pldm_platform_cmd.cpp
@@ -43,7 +43,7 @@
{PLDM_SENSOR_UNAVAILABLE, "Sensor Unavailable"},
{PLDM_SENSOR_STATUSUNKOWN, "Sensor Status Unknown"},
{PLDM_SENSOR_FAILED, "Sensor Failed"},
- {PLDM_SENSOR_INITIALIZING, "Sensor Sensor Intializing"},
+ {PLDM_SENSOR_INITIALIZING, "Sensor Sensor Initializing"},
{PLDM_SENSOR_SHUTTINGDOWN, "Sensor Shutting down"},
{PLDM_SENSOR_INTEST, "Sensor Intest"}};