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/oem/ibm/libpldmresponder/file_io.cpp b/oem/ibm/libpldmresponder/file_io.cpp
index b547b5b..57b89ba 100644
--- a/oem/ibm/libpldmresponder/file_io.cpp
+++ b/oem/ibm/libpldmresponder/file_io.cpp
@@ -100,7 +100,7 @@
{
rc = -errno;
error(
- "Failed to execute the DMA operation for transfering remote terminus data to socket at address '{ADDRESS}' and length '{LENGTH}' with response code '{RC}'",
+ "Failed to execute the DMA operation for transferring remote terminus data to socket at address '{ADDRESS}' and length '{LENGTH}' with response code '{RC}'",
"RC", rc, "ADDRESS", address, "LENGTH", length);
return rc;
}
@@ -112,7 +112,7 @@
rc = -errno;
close(fd);
error(
- "Failed to write to Unix socket, closing socket for transfering remote terminus data to socket with response code '{RC}'",
+ "Failed to write to Unix socket, closing socket for transferring remote terminus data to socket with response code '{RC}'",
"RC", rc);
return rc;
}
diff --git a/oem/ibm/libpldmresponder/file_io_type_cert.cpp b/oem/ibm/libpldmresponder/file_io_type_cert.cpp
index b9850f3..00d9f0b 100644
--- a/oem/ibm/libpldmresponder/file_io_type_cert.cpp
+++ b/oem/ibm/libpldmresponder/file_io_type_cert.cpp
@@ -198,7 +198,7 @@
catch (const std::exception& e)
{
error(
- "Failed to write the set status property for certficate entry, error - {ERROR}",
+ "Failed to write the set status property for certificate entry, error - {ERROR}",
"ERROR", e);
return PLDM_ERROR;
}
diff --git a/oem/ibm/libpldmresponder/file_io_type_dump.cpp b/oem/ibm/libpldmresponder/file_io_type_dump.cpp
index 7ade97b..cda9e16 100644
--- a/oem/ibm/libpldmresponder/file_io_type_dump.cpp
+++ b/oem/ibm/libpldmresponder/file_io_type_dump.cpp
@@ -265,7 +265,7 @@
catch (const std::exception& e)
{
error(
- "Failed to make a D-bus call to DUMP manager for reseting source dump file '{PATH}' on interface '{INTERFACE}', error - {ERROR}",
+ "Failed to make a D-bus call to DUMP manager for resetting source dump file '{PATH}' on interface '{INTERFACE}', error - {ERROR}",
"PATH", path, "INTERFACE", dumpIntf, "ERROR", e);
pldm::utils::reportError(
"xyz.openbmc_project.bmc.PLDM.fileAck.SourceDumpIdResetFail");
diff --git a/oem/ibm/libpldmresponder/file_io_type_pcie.cpp b/oem/ibm/libpldmresponder/file_io_type_pcie.cpp
index 7a8ca90..420f1cb 100644
--- a/oem/ibm/libpldmresponder/file_io_type_pcie.cpp
+++ b/oem/ibm/libpldmresponder/file_io_type_pcie.cpp
@@ -415,7 +415,7 @@
htobe16(singleEntryData->entryLength));
}
// Need to call cable info at the end , because we dont want to parse
- // cable info without parsing the successfull topology successfully
+ // cable info without parsing the successful topology successfully
// Having partial information is of no use.
parseCableInfo();
}
diff --git a/oem/ibm/libpldmresponder/oem_ibm_handler.cpp b/oem/ibm/libpldmresponder/oem_ibm_handler.cpp
index 301de47..263a201 100644
--- a/oem/ibm/libpldmresponder/oem_ibm_handler.cpp
+++ b/oem/ibm/libpldmresponder/oem_ibm_handler.cpp
@@ -446,7 +446,7 @@
while (pos1 != std::string::npos)
{
size_t pos2 = dbusPath.substr(pos1 + 1).find('/') + 1;
- // Replacing starting from substring to next occurence of char '/'
+ // Replacing starting from substring to next occurrence of char '/'
dbusPath.replace(pos1, pos2 + 1, "");
pos1 = dbusPath.find(toFind);
}
diff --git a/oem/ibm/libpldmresponder/utils.hpp b/oem/ibm/libpldmresponder/utils.hpp
index ac7549f..bfdd251 100644
--- a/oem/ibm/libpldmresponder/utils.hpp
+++ b/oem/ibm/libpldmresponder/utils.hpp
@@ -30,7 +30,7 @@
* @param[in] sock - unix socket
* @param[in] buf - data buffer
* @param[in] blockSize - size of data to write
- * @return on success retruns 0
+ * @return on success returns 0
* on failure returns -1
*/